/**
 * MijnBNA Frontend CSS
 * Styling for frontend elements
 */



/* Main container */
.mijnbna-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: inherit;
}

/* Section headers */
.mijnbna-section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 0px solid #ddd;
}

.mijnbna-section-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
}

.mijnbna-section-description {
    color: #666;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Dashboard */
.mijnbna-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.mijnbna-dashboard-card {
    background: #fff;
    border-radius: 0px;
    padding: 20px;
}

.office-actions {
	margin-top: 25px;
}


.photo-validation-error {
	border-color: #F04B4B !important;
	background-color: #F04B4B !important;
	color: #fff !important;
	font-family: "IBM Plex Sans" !important;
	font-weight: 500 !important;
	margin-left: 0px !important;
	border-radius: 0px !important;
}

.photo-validation-error strong {
	font-family: "IBM Plex Sans" !important;
}

.mijnbna-dashboard-card:hover {

}

.mijnbna-dashboard-card h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 0px solid #f0f0f0;
    padding-bottom: 10px;
}

.mijnbna-dashboard-card-content {
    color: #555;
}

/* Forms */

/* Form field styling for inline editing */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-field label {
    font-weight: bold;
    color: #2D2337;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 0;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    color: #2D2337 !important;
    background-color: #EBEBE6 !important;
    min-height: 45px;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: 2px solid #2c6d7f !important;
    outline-offset: -2px;
    background-color: #EBEBE6 !important;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
    cursor: pointer;
}

/* Form actions styling */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Individual field row in edit mode */
.inline-field-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: auto;
}

.inline-field-label {
    font-weight: bold;
    color: #2D2337;
    text-align: left;
    font-size: inherit;
    padding-right: 1em;
    margin-bottom: 5px;
}

.inline-field-input {
    width: 100%;
}

/* Input fields styling - match info-value styling */
.form-control-inline {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 0;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
    color: #2D2337;
    background-color: #EBEBE6;
    min-height: 45px;
    max-width: 490px;
    box-sizing: border-box;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-control-inline:focus {
    outline: 2px solid #2c6d7f;
    outline-offset: -2px;
    background-color: #EBEBE6;
}

.form-control-inline:disabled {
    background-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

/* Select dropdown specific styling */
.form-control-inline[type="select"],
select.form-control-inline {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;
    cursor: pointer;
}

/* Action buttons container */
.edit-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Button styling for inline editing */
.btn.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 0px;
    border: 1px solid;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #2c6d7f;
    border-color: #2c6d7f;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #1e4b57;
    border-color: #1e4b57;
}

.btn-primary:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #f8f9fa;
    border-color: #ddd;
    color: #555;
}

.btn-secondary:hover:not(:disabled) {
    background-color: #e2e6ea;
    border-color: #bbb;
}

.btn-outline-primary {
    background-color: transparent;
    border-color: #2c6d7f;
    color: #2c6d7f;
}

.btn-outline-primary:hover:not(:disabled) {
    background-color: #2c6d7f;
    color: white;
}

/* Form message styling */
.form-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 0px;
    font-size: 14px;
}

.form-message p {
    margin: 0;
    line-height: 1.4;
}

.mijnbna-form {
    background: #fff;
    padding: 0px;
    border-radius: 0px;
    margin-bottom: 30px;
}

.mijnbna-form-row {
	margin-bottom: 20px;
	width: 100%;
	float: left;
	margin-right: 20px;
}

.mijnbna-form-row:last-child {
	width: 100%;
	float: none;
}

.mijnbna-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.mijnbna-form-row input[type="text"],
.mijnbna-form-row input[type="email"],
.mijnbna-form-row input[type="password"],
.mijnbna-form-row input[type="number"],
.mijnbna-form-row select,
.mijnbna-form-row textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.2s, background-color 0.2s;
}

.mijnbna-form-row input:focus,
.mijnbna-form-row select:focus,
.mijnbna-form-row textarea:focus {
    border-color: #2D2337;
    background-color: #fff;
    outline: none;
}

.mijnbna-form-row .description {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

.mijnbna-form-row .error {
    color: #F04B4B;
    font-size: 14px;
    margin-top: 5px;
}

.mijnbna-form-actions {
    margin-top: 30px;
    text-align: right;
}

/* Buttons */
.mijnbna-button {
    display: inline-block;
    background-color: #2D2337;
    color: #fff;
    border: none;
    border-radius: 0px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.mijnbna-button:hover {
    background-color: #0069d9;
    text-decoration: none;
    color: #fff;
}

.mijnbna-button.secondary {
    background-color: #6c757d;
}

.mijnbna-button.secondary:hover {
    background-color: #5a6268;
}

.mijnbna-button.danger {
    background-color: #F04B4B;
}

.mijnbna-button.danger:hover {
    background-color: #c82333;
}

/* Member profile */
.mijnbna-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.mijnbna-profile-sidebar {
    flex: 1;
    min-width: 250px;
}

.mijnbna-profile-main {
    flex: 3;
    min-width: 300px;
}

.mijnbna-profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.mijnbna-profile-name {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.mijnbna-profile-meta {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

/* Membership badges */
.mijnbna-membership-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 0px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.mijnbna-membership-badge.active {
    background-color: #28a745;
    color: #fff;
}

.mijnbna-membership-badge.expired {
    background-color: #F04B4B;
    color: #fff;
}

.mijnbna-membership-badge.pending {
    background-color: #ffc107;
    color: #212529;
}

/* Tables */
.mijnbna-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

.mijnbna-table th,
.mijnbna-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.mijnbna-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.mijnbna-table tr:hover {
    background-color: #f5f5f5;
}

.mijnbna-table .status-active {
    color: #28a745;
    font-weight: 600;
}

.mijnbna-table .status-expired {
    color: #F04B4B;
    font-weight: 600;
}

.mijnbna-table .status-pending {
    color: #ffc107;
    font-weight: 600;
}

/* Tabs */
.mijnbna-tabs {
    display: flex;
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    border-bottom: 0px solid #ddd;
}

.mijnbna-tabs li {
    margin-right: 10px;
}

.mijnbna-tabs li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    transition: background-color 0.2s;
}

.mijnbna-tabs li a:hover {
    background-color: #f5f5f5;
}

.mijnbna-tabs li.active a {
    background-color: #fff;
    border-color: #ddd;
    border-bottom-color: #fff;
    color: #2D2337;
    font-weight: 600;
}

.mijnbna-tab-content {
    background: #fff;
    padding: 0px;
    border: 0px solid #ddd;
    border-top: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* Notifications */
.mijnbna-notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0px;
}

.mijnbna-notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mijnbna-notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.mijnbna-notification.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.mijnbna-notification.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Login messages */
.bna-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0px;
    font-size: 16px;
}

.bna-message.bna-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.bna-message.bna-error {
	background-color: #FFE6E6;
	color: #961919;
	border: 1px solid #f5c6cb;
}

.bna-message.bna-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Pagination */
.mijnbna-pagination {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 30px 0;
    list-style: none;
}

.mijnbna-pagination li {
    margin: 0 5px;
}

.mijnbna-pagination li a,
.mijnbna-pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #2D2337;
    text-decoration: none;
    border-radius: 0px;
}

.mijnbna-pagination li a:hover {
    background-color: #f5f5f5;
}

.mijnbna-pagination li.active span {
    background-color: #2D2337;
    color: #fff;
    border-color: #2D2337;
}

.mijnbna-pagination li.disabled span {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
    .mijnbna-dashboard {
        grid-template-columns: 1fr;
    }
    
    .mijnbna-profile {
        flex-direction: column;
    }
    
    .mijnbna-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .mijnbna-tabs li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .mijnbna-tabs li a {
        border-radius: 0px;
    }
    
    .mijnbna-tabs li.active a {
        border-bottom-color: #ddd;
        margin-bottom: 0;
    }
    
    .mijnbna-tab-content {
        border-top: 0px solid #ddd;
        border-radius: 0px;
    }
} 

/* --- Algemene Layout --- */
/* Styling voor de topnavigatie (dashboard menu) */
.mijnbna-main-nav ul {
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    background: #fff; /* Achtergrond zoals in dashboard */
    border-radius: 0px; 
    margin-bottom: 30px;
}
.mijnbna-main-nav li { 
    margin: 0; 
}
.mijnbna-main-nav a { 
    display: block; 
    padding: 15px 20px; 
    text-decoration: none; 
    color: #333; 
    font-weight: 500; 
    transition: background-color 0.2s; 
}
.mijnbna-main-nav li.active a { 
    background-color: #2D2337; /* Blauwe achtergrond voor actieve link */
    color: white; 
}
.mijnbna-main-nav a:hover { 
    background-color: #e0e0e0; 
}

/* Wrapper voor de Mijn Bureau pagina (sidebar + content) */
.mijnbna-dashboard-wrapper {
    display: flex;
    gap: 50px; 
}

/* --- Sidebar Styling --- */
.mijnbna-dashboard-wrapper .mijnbna-sidebar {
    flex: 0 0 22%; 
    background-color: #fff; /* Lichtgrijze achtergrond */
    padding: 0px;
    margin-top:-10px;
    border-radius: 0px;
    height: fit-content; /* Sidebar niet langer dan nodig */
    border: 0px solid #dee2e6; /* Rand toegevoegd voor consistentie met panelen */
}
.mijnbna-dashboard-wrapper .mijnbna-sidebar h3 {
    display: none;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
    border-bottom: 1px solid #dee2e6; /* Lijntje onder titel */
    padding-bottom: 10px;
}

.mijnbna-dashboard-wrapper .mijnbna-sidebar .mybna-page-nav,
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mijnbna-nav,
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mijnbna-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 !important;
}
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mybna-page-nav li button,
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mijnbna-nav li a {
    display: block;
    font-family: 'IBM Plex Sans';
    padding: 15px 0px; /* Iets minder padding dan topnav */
    text-decoration: none;
    color: #7D6969;
    border-radius: 0px;
    margin-bottom: 3px; /* Kleinere marge */
    transition: color 0.2s, color 0.2s;
    font-weight: 600 !important;
	font-size: 16px !important;
	line-height: 24px !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase;
	border-bottom: solid 1px #2D2337;
}
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mybna-page-nav li button:hover,
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mijnbna-nav li a:hover {
    color: #2D2337;
}
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mybna-page-nav li .active,
.mijnbna-dashboard-wrapper .mijnbna-sidebar .mijnbna-nav li.active a {
    color: #2D2337;
}

/* --- Content Area Styling --- */
.mijnbna-dashboard-wrapper .mijnbna-content {
    flex-grow: 1; 
}

/* --- Sectie & Panel Styling (Consistent voor Overview & Detail) --- */
.mijnbna-dashboard-wrapper .mijnbna-section {
    margin-bottom: 30px; 
}
.mijnbna-dashboard-wrapper .mijnbna-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0px solid #dee2e6;
    padding-bottom: 0px;
    margin-bottom: 20px;
}
.mijnbna-dashboard-wrapper .mijnbna-section .section-header h2 {
    margin: 0;
    color: #2D2337; /* Blauwe titels */
}
.mijnbna-dashboard-wrapper .section-back {
    color: #2D2337;
    text-decoration: none;
    font-weight: bold;
}
.mijnbna-dashboard-wrapper .section-back:hover { text-decoration: underline; }

.mijnbna-dashboard-wrapper .mijnbna-panel {
    background-color: #fff;
    border: 0px solid #dee2e6;
    border-radius: 0px;
    margin-bottom: 20px; /* Marge tussen panelen */
}

.mijnbna-dashboard-wrapper .mijnbna-panel h3 {
    margin: 0;
    padding: 0px;
    letter-spacing: 0 !important;
	font-size: 25px !important;
	line-height: 28px !important;
	font-weight: 500 !important;
	margin-bottom: 20px !important;
}

.mijnbna-dashboard-wrapper .mijnbna-panel .boty-form-container h4 {
	font-size: 23px !important;
	line-height: 25px !important;
}

.mijnbna-dashboard-wrapper .panel-content {
    padding: 0px;
}

.mijnbna-dashboard-wrapper .panel-footer {
    padding: 25px 0px;
    background-color: transparent;
    border-bottom: 0px solid #EBEBE6;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    text-align: left;
}

.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px 20px;
	align-items: start;
	margin-bottom: 25px;
}

/* Grid voor info weergave (labels links, waardes rechts) - erft van standaard .info-grid */
.mijnbna-dashboard-wrapper .personal-details-container .info-grid {
    /* Grid properties worden geërfd van .info-grid */
}

.mijnbna-dashboard-wrapper .bna-functions-grid .info-grid {
    grid-template-columns: 1fr; /* Override om 1 kolom te behouden voor deze sectie */
}

.mijnbna-dashboard-wrapper .info-grid .info-row {
	width: 100% !important;
	margin-bottom: 10px;
	margin-top: 10px;
}

.mijnbna-dashboard-wrapper .info-grid .info-row:last-child .info-label,
.mijnbna-dashboard-wrapper .info-grid .info-row:last-child .info-value {
    border-bottom: none;
}

.mijnbna-dashboard-wrapper .info-label { font-weight: bold; color: #2D2337; padding-right: 1em; margin-bottom:5px; }
.mijnbna-dashboard-wrapper .info-value a { color: #2D2337; text-decoration: none; }
.mijnbna-dashboard-wrapper .info-value { color: #2D2337; background-color: #EBEBE6; padding: 10px; min-height: 45px; max-width: 490px; }
.mijnbna-dashboard-wrapper .info-value a:hover { text-decoration: underline; }

/* Specifieke styling voor bureau panel met meerdere offices */
.mijnbna-dashboard-wrapper .mijnbna-office-panel .panel-content {
    margin: 0;
    padding: 0px 0px 25px 0px;
}

.mijnbna-dashboard-wrapper .mijnbna-office-panel .panel-content:last-of-type { border-bottom: none; }

.mijnbna-dashboard-wrapper .mijnbna-panel > .panel-content:last-child {
    border-bottom: none;
}
.mijnbna-dashboard-wrapper .office-info .office-name { font-weight: bold; display: block; margin-top: 25px; margin-bottom: 15px; }
.mijnbna-dashboard-wrapper .office-info .office-employees { font-size: 0.9em; color: #555; }
.mijnbna-dashboard-wrapper .mijnbna-office-panel .panel-footer.add-subsidiary { margin-top:25px; padding: 0px 0px; text-align: left; }

/* Medewerkers panel styling */
.mijnbna-dashboard-wrapper .employees-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.mijnbna-dashboard-wrapper .employees-panel .employee-card { 
    border-bottom: 1px solid #2D2337; 
    border-radius: 0px; 
    padding: 0px 0px 25px 0px; 
    margin-bottom: 0px; 
    background-color: #fff; 
    display: flex; 
    align-items: baseline; 
    gap: 0px; 
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.mijnbna-dashboard-wrapper .employee-card.disabled { opacity: 0.6; background-color: #f9f9f9; pointer-events: none; }
.mijnbna-dashboard-wrapper .employee-card.disabled .cancel-detachment { 
    pointer-events: auto; 
    opacity: 1 !important; 
    background-color: #f44336 !important;
    color: white !important;
    cursor: pointer !important;
}
.mijnbna-dashboard-wrapper .employee-info { flex-basis: 35%; margin-bottom: 10px; }
.mijnbna-dashboard-wrapper .employee-info .employee-name { font-weight: bold; margin-bottom: 3px; }
.mijnbna-dashboard-wrapper .employee-info .employee-email { font-size: 16px; color: #2D2337; word-break: break-all; }
.mijnbna-dashboard-wrapper .employee-actions { flex-basis: 60%; display: block; flex-direction: column; gap: 10px; }
.mijnbna-dashboard-wrapper .employee-account-selector,
.mijnbna-dashboard-wrapper .employee-role-selector { margin-bottom: 15px; }
.mijnbna-dashboard-wrapper .employee-role-selector label, 
.mijnbna-dashboard-wrapper .employee-account-selector label { 
    font-size: 16px; margin-bottom: 5px; display: flex; 
}
.mijnbna-dashboard-wrapper .employee-role-selector label { margin-right: 15px; cursor: pointer; }
.mijnbna-dashboard-wrapper .employee-role-selector input[type="radio"] { margin-right: 5px; vertical-align: middle;}

.mijnbna-dashboard-wrapper .employee-account-selector select {
	width: 100%;
	max-width: 245px;
	padding: 10px;
	font-size: 16px;
	color: #2D2337;
	background-color: #EBEBE6;
}

.mijnbna-dashboard-wrapper .employee-decouple .button { padding: 5px 10px; font-size: 0.9em; }
.mijnbna-dashboard-wrapper .employee-decouple .disconnection-pending { color: #e65054; font-style: italic; font-size: 0.9em; }

/* Modal styles */
.mijnbna-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.4); }
.mijnbna-modal-content { background-color: #fff; margin: 10% auto; padding: 30px; border: 1px solid #ccc; width: 80%; max-width: 700px; border-radius: 0px; position: relative; max-height: 70vh; overflow-y: auto; }
.mijnbna-modal-close { color: #aaa; position: absolute; right: 15px; top: 10px; font-size: 28px; font-weight: bold; cursor: pointer; line-height: 1; }
.mijnbna-modal-close:hover, .mijnbna-modal-close:focus { color: black; text-decoration: none; }
.mijnbna-modal .mijnbna-form-row { margin-bottom: 15px; }
.mijnbna-modal .mijnbna-form-row label { display: block; margin-bottom: 5px; font-weight: bold; }
.mijnbna-modal .mijnbna-form-row input[type="text"], 
.mijnbna-modal .mijnbna-form-row input[type="email"], 
.mijnbna-modal .mijnbna-form-row input[type="password"], 
.mijnbna-modal .mijnbna-form-row input[type="number"], 
.mijnbna-modal .mijnbna-form-row input[type="date"], 
.mijnbna-modal .mijnbna-form-row input[type="tel"], 
.mijnbna-modal .mijnbna-form-row select, 
.mijnbna-modal .mijnbna-form-row textarea {
    width: 100%; 
    padding: 8px 12px; 
    border: 1px solid #ddd; 
    border-radius: 0px; 
    background-color: #f9f9f9;
}
.mijnbna-modal .mijnbna-form-actions { margin-top: 25px; text-align: right; border-top: 1px solid #eee; padding-top: 15px; }
.mijnbna-modal .mijnbna-form-actions button { margin-left: 10px; }

/* Button styling consistency */
.mijnbna-dashboard-wrapper .button, 
.mijnbna-dashboard-wrapper .button-primary, 
.mijnbna-dashboard-wrapper .button-secondary {
    display: inline-block;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.mijnbna-dashboard-wrapper .button-primary {
    background-color: #2D2337;
    color: #fff;
}

.mijnbna-dashboard-wrapper .button-primary:hover {
    background-color: #0056b3;
}

.mijnbna-dashboard-wrapper .button-secondary {
    background-color: #6c757d;
    color: #fff;
}

.mijnbna-dashboard-wrapper .button-secondary:hover {
    background-color: #545b62;
}

/* Responsive aanpassingen voor dashboard/bureau */
@media (max-width: 768px) {
    .mijnbna-dashboard-wrapper { flex-direction: column; }
    .mijnbna-dashboard-wrapper .mijnbna-sidebar { flex: 0 0 auto; margin-bottom: 20px; width: 100%; }
    .mijnbna-dashboard-wrapper .employee-card { flex-direction: column; gap: 15px; }
    .mijnbna-dashboard-wrapper .employee-info, 
    .mijnbna-dashboard-wrapper .employee-actions { flex-basis: 100%; width: 100%; }
    .mijnbna-dashboard-wrapper .employee-actions { margin-top: 15px; }
    .mijnbna-dashboard-wrapper .employee-account-selector select { max-width: none; width: 100%; }
    .mijnbna-dashboard-wrapper .info-grid { grid-template-columns: 1fr; /* Labels boven waardes */ gap: 5px 0; }
    .mijnbna-dashboard-wrapper .info-label { margin-bottom: 2px; }
    .mijnbna-dashboard-wrapper .info-row { margin-bottom: 15px; }
    .mijnbna-dashboard-wrapper .employees-panel { 
        overflow: hidden; /* Voorkom horizontal scroll */
    }
}

/* Dashboard Agenda Styling */
.dashboard-section {
    margin-bottom: 30px;
}

.dashboard-section h3 {
    color: #2D2337;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 28px;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agenda-item {
    border-bottom: 1px solid #EBEBE6;
    padding: 20px 0;
    margin-bottom: 0;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-item-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2D2337;
}

.agenda-item-content h4 a {
    color: #2D2337;
    text-decoration: none;
}

.agenda-item-content h4 a:hover {
    text-decoration: underline;
}

.agenda-meta {
    margin-top: 15px;
    margin-bottom: 15px;
}

.agenda-meta span {
    display: block;
    margin-bottom: 5px;
}

.agenda-status {
    font-size: 14px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 3px;
    display: inline-block;
}

.agenda-status .status-label {
    font-weight: normal;
    margin-right: 5px;
}

.status-confirmed {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-unknown {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

/* Suggested Events - use same styling as documents (no extra styling needed) */

/* Responsive aanpassingen voor agenda */
@media (max-width: 768px) {
    .agenda-meta span {
        font-size: 13px;
    }
    
    .agenda-item-content h4 {
        font-size: 16px;
    }
}

.dashboard-section .agenda-list .document-meta {
    display: block !important;
}

/* ============================================================================
   BOTY INZENDFORMULIER STYLING
   ============================================================================ */

/* Form container */
.boty-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0px;
}

.boty-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.boty-form-header h1 {
    font-size: 32px;
    color: #2D2337;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 18px;
    color: #666;
}

/* Form sections */
.form-section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 24px;
    color: #2D2337;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.form-section h3.subsection-title {
    font-size: 18px;
    color: #2D2337;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.section-intro,
.form-note {
    padding: 0px 0px;
    border-left: 0px solid #80C4E9;
    margin-bottom: 20px;
    color: #666;
}

/* Form fields */
.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 0px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #80C4E9;
    box-shadow: 0 0 0 3px rgba(128, 196, 233, 0.1);
}

.form-field small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #666;
}

.field-error {
    color: #F04B4B;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.field-error:not(:empty) {
    display: block;
}

/* Form rows (responsive grid) */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.boty-form-container .form-row {
    margin-bottom: 0px;
}

.form-row-alt {
    display: grid;
	grid-template-columns: minmax(49.1%, 2fr) repeat(2, minmax(125px, 1fr));
    gap: 20px;
    margin-bottom: 0px;
}

.form-row-alt2 {
    display: grid;
	grid-template-columns: repeat(2, minmax(125px, 1fr)) minmax(49.1%, 2fr);
    gap: 20px;
    margin-bottom: 0px;
}

/* Character counters */
.char-counter-small {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    transition: color 0.2s;
}

/* Repeater fields */
.repeater-container {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 0px;
    margin-bottom: 20px;
    background: #f9f9f9;
}

.repeater-item {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 0px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.repeater-item:last-child {
    margin-bottom: 0;
}

.repeater-remove {
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: "IBM Plex Sans" !important;
    background: #F04B4B;
    color: white;
    border: none;
    border-radius: 0px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.repeater-remove:hover {
    background: #c82333;
}

.repeater-add {
    background: #2D2337;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    width: 100%;
    max-width: 300px;
}

.repeater-add:hover {
    background: #1f1825;
}

.repeater-add:active {
    transform: translateY(1px);
}

/* Photo grid */
.media-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border: 2px solid #ddd;
    border-radius: 0px;
    overflow: hidden;
    background: #f5f5f5;
    transition: all 0.2s;
}

.image-preview-item.is-primary {
    border-color: #3CF0D2;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    opacity: 0;
    transition: opacity 0.2s;
}

.image-preview-item:hover .image-preview-overlay {
    opacity: 1;
}

.primary-radio {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255,255,255,0.95);
    padding: 6px 10px;
    border-radius: 0px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 2;
}

.primary-radio input[type="radio"] {
    cursor: pointer;
    width: auto;
}

.primary-label {
    font-weight: 500;
    color: #333;
}

.remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #F04B4B;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}

.remove-image:hover {
    background: #c82333;
}

.image-info {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* Form messages */
.form-messages {
    padding: 15px 20px;
    border-radius: 0px;
    margin: 20px 0;
    font-size: 14px;
	font-family: "IBM Plex Sans" !important;
	font-weight: 500 !important;
	border-radius: 0px !important;
    display: none;
}

.form-messages.success {
    background: #3cf0d2;
    color: #004650;
    border: 1px solid #3cf0d2;
}

.form-messages.error {
    background: #f04b4b;
    color: #ffffff;
    border: 1px solid #f04b4b;
}

.form-messages.info {
    background: #7d6969;
    color: #ffffff;
    border: 1px solid #7d6969;
}

/* Bureau Autocomplete */
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999 !important;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 4px 0;
}

.ui-menu-item {
    padding: 0;
    margin: 0;
    list-style: none;
}

.ui-menu-item-wrapper {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
}

.ui-menu-item-wrapper:hover,
.ui-state-active {
    background: #f0f0f0;
    color: #2D2337;
}

.ui-state-focus {
    background: #80C4E9 !important;
    color: white !important;
}

#bureau-selection-feedback,
#bureau-no-results {
    margin-top: 5px;
    font-size: 12px;
    padding: 5px 0;
}

.form-field input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.form-actions .btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.form-actions .btn-primary {
    background: #2D2337;
    color: white;
}

.form-actions .btn-primary:hover {
    background: #1f1825;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
}

.form-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive styles */
@media (max-width: 768px) {
    .boty-form-container {
        padding: 20px 10px;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .form-section h2 {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
    
    .media-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .repeater-add {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .boty-form-header h1 {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .media-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}