@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');

*,
*::before,
*::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
}

:root {
        --color-primary: #2D3748;
        --color-secondary: #4299E1;
        --color-bg: #F8F8F1;
        --color-text: #1A202C;
        --color-success: #48BB78;
        --color-error: #F56565;
        --color-border: #E2E8F0;
        --color-input-bg: #FFFFFF;
        --color-label: #4A5568;
        --color-link: #4299E1;
        --radius: 8px;
        --spacing: 24px;
        --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, Helvetica, sans-serif;
}

html {
        height: 100%;
}

body {
        font-family: var(--font-family);
        background-color: var(--color-bg);
        color: var(--color-text);
        line-height: 1.6;
        min-height: 100%;
        display: flex;
        flex-direction: column;
}

.login-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        padding: var(--spacing);
        min-height: 100vh;
}

.login-container {
        width: 100%;
        max-width: 420px;
}

.login-header {
        text-align: center;
        margin-bottom: 32px;
}

.login-logo {
        margin-bottom: 12px;
}

.login-logo svg {
        width: 64px;
        height: 80px;
}

.login-logo img {
        width: 72px;
        height: 72px;
        object-fit: contain;
}

.login-title {
        font-size: 24px;
        font-weight: 400;
        color: var(--color-primary);
        margin-bottom: 4px;
}

.login-subtitle {
        font-size: 14px;
        color: var(--color-label);
}

.login-card {
        background: var(--color-input-bg);
        border-radius: var(--radius);
        padding: 32px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
        border: 1px solid var(--color-border);
}

.login-card h2 {
        font-size: 20px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: var(--spacing);
}

.form-group {
        margin-bottom: 20px;
}

.form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 6px;
}

.label-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6px;
}

.label-row label {
        margin-bottom: 0;
}

.label-row a {
        font-size: 13px;
        color: var(--color-link);
        text-decoration: none;
}

.label-row a:hover {
        text-decoration: underline;
}

.input-wrapper {
        position: relative;
}

.form-control {
        width: 100%;
        padding: 10px 14px;
        font-size: 15px;
        font-family: var(--font-family);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        background: var(--color-input-bg);
        color: var(--color-text);
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
        outline: none;
}

.form-control::placeholder {
        color: #A0AEC0;
}

.form-control:focus {
        border-color: var(--color-secondary);
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.form-control:disabled {
        background-color: #E2E8F0;
        color: #718096;
        cursor: not-allowed;
}

.form-control.is-error {
        border-color: var(--color-error);
}

.form-control.is-error:focus {
        box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.15);
}

.password-toggle {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        color: var(--color-label);
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
}

.password-toggle:hover {
        color: var(--color-text);
}

.password-toggle svg {
        width: 20px;
        height: 20px;
}

.forgot-password-link {
        text-align: center;
        margin-top: 16px;
}

.forgot-password-link a {
        font-size: 13px;
        color: var(--color-link);
        text-decoration: none;
}

.forgot-password-link a:hover {
        text-decoration: underline;
}

.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 600;
        font-family: var(--font-family);
        border: none;
        border-radius: var(--radius);
        cursor: pointer;
        transition: background-color 0.15s ease, transform 0.1s ease;
        text-decoration: none;
}

.btn:active {
        transform: scale(0.98);
}

.btn-primary {
        background-color: var(--color-secondary);
        color: #FFFFFF;
}

.btn-primary:hover {
        background-color: #3182CE;
}

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

.btn svg {
        width: 18px;
        height: 18px;
}

.alert {
        padding: 12px 16px;
        border-radius: var(--radius);
        font-size: 14px;
        margin-bottom: 20px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
}

.alert-error {
        background-color: #FFF5F5;
        color: #C53030;
        border: 1px solid #FED7D7;
}

.alert-success {
        background-color: #F0FFF4;
        color: #276749;
        border: 1px solid #C6F6D5;
}

.alert-warning {
        background-color: #FFFFF0;
        color: #975A16;
        border: 1px solid #FEFCBF;
}

.login-footer {
        text-align: center;
        margin-top: 20px;
        font-size: 14px;
        color: var(--color-label);
}

.login-footer a {
        color: var(--color-link);
        text-decoration: none;
        font-weight: 600;
}

.login-footer a:hover {
        text-decoration: underline;
}

.dashboard-wrapper {
        display: flex;
        min-height: 100vh;
}

.sidebar {
        width: 260px;
        background: var(--color-primary);
        color: #FFFFFF;
        padding: var(--spacing) 0;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        position: sticky;
        top: 0;
        height: 100vh;
}

.sidebar-header {
        padding: 0 var(--spacing) 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 16px;
}

.sidebar-header h1 {
        font-size: 18px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 10px;
}

.sidebar-header h1 svg {
        width: 28px;
        height: 35px;
}

.sidebar-logo-img {
        width: 50px;
        height: 50px;
        object-fit: contain;
}

.sidebar-nav {
        list-style: none;
        padding: 0;
}

.sidebar-nav li {
        margin-bottom: 2px;
}

.sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px var(--spacing);
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
        background-color: rgba(255, 255, 255, 0.1);
        color: #FFFFFF;
}

.sidebar-nav a svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
}

.sidebar-badge {
        margin-left: auto;
        background-color: #E53E3E;
        color: #FFFFFF;
        font-size: 11px;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        border-radius: 9px;
        padding: 0 5px;
}

.sidebar-footer {
        padding: var(--spacing) var(--spacing) 0;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logout-form {
        margin: 0;
        padding: 0;
}

a.sidebar-user {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        text-decoration: none;
        padding: 6px 8px;
        border-radius: 6px;
        margin: 0 -8px 12px;
        transition: background-color 0.15s ease;
}

a.sidebar-user:hover {
        background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-user-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        background-color: var(--color-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        color: #FFFFFF;
        overflow: hidden;
}

.sidebar-user-avatar-photo {
        background-color: transparent;
}

.sidebar-user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
}

.sidebar-user-info {
        overflow: hidden;
}

.sidebar-user-name {
        font-size: 14px;
        font-weight: 600;
        color: #FFFFFF;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}

.sidebar-user-role {
        font-size: 12px;
        color: rgba(255, 255, 255, 0.6);
}

.sidebar-logout {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--radius);
        color: rgba(255, 255, 255, 0.8);
        cursor: pointer;
        font-size: 13px;
        font-family: var(--font-family);
        width: 100%;
        text-decoration: none;
        justify-content: center;
        transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sidebar-logout:hover {
        background-color: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.4);
}

.main-content {
        flex: 1;
        padding: 32px 40px;
        overflow-y: auto;
}

h1 {
        font-family: 'Playfair Display', serif;
        font-weight: 400;
}

.main-content h1 {
        font-size: 28px;
        color: var(--color-text);
        margin-bottom: 8px;
}

.main-content .subtitle {
        font-size: 15px;
        color: var(--color-label);
        margin-bottom: 0;
}

.stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing);
        margin-bottom: 32px;
}

.stat-card {
        background: var(--color-input-bg);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        padding: var(--spacing);
}

.stat-card h3 {
        font-size: 13px;
        font-weight: 600;
        color: var(--color-label);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 8px;
}

.stat-card .stat-value {
        font-size: 32px;
        font-weight: 700;
        color: var(--color-text);
}

.page-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 32px;
}

.btn-sm {
        width: auto;
        padding: 10px 20px;
        font-size: 14px;
}

.btn-block {
        width: 100%;
}

.btn-secondary {
        background-color: var(--color-input-bg);
        color: var(--color-text);
        border: 1px solid var(--color-border);
}

.btn-secondary:hover {
        background-color: #EDF2F7;
}

.table-container {
        background: var(--color-input-bg);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        overflow: hidden;
}

.data-table {
        width: 100%;
        border-collapse: collapse;
}

.data-table th {
        background: #e0e0cc;
        text-align: left;
        padding: 12px 16px;
        font-size: 12px;
        font-weight: 600;
        color: var(--color-label);
        text-transform: uppercase;
        letter-spacing: 0.5px;
}

.data-table td {
        padding: 12px 16px;
        font-size: 14px;
        border-bottom: 1px solid var(--color-border);
        vertical-align: middle;
}

.data-table tbody tr:last-child td {
        border-bottom: none;
}

.data-table tbody tr:hover {
        background-color: #f8f8f1;
}

.table-empty {
        text-align: center;
        color: var(--color-label);
        padding: 40px 16px;
}

.user-cell {
        display: flex;
        align-items: center;
        gap: 12px;
}

.user-cell-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: var(--color-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 13px;
        color: #FFFFFF;
        flex-shrink: 0;
        overflow: hidden;
}

.user-cell-avatar:has(img) {
        background-color: transparent;
}

.user-cell-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.user-cell-name {
        font-weight: 600;
        color: var(--color-text);
}

.user-cell-username {
        font-size: 12px;
        color: var(--color-label);
}

.badge {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
}

.badge-admin {
        background-color: #FED7D7;
        color: #C53030;
}

.badge-beheerder {
        background-color: #FEFCBF;
        color: #975A16;
}

.badge-user {
        background-color: #C6F6D5;
        color: #276749;
}

.status-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin-right: 4px;
}

.status-active {
        background-color: var(--color-success);
}

.status-inactive {
        background-color: #A0AEC0;
}

.status-new {
        background-color: #E53E3E;
}

.new-user-dot {
        display: inline-block;
        width: 8px;
        height: 8px;
        background-color: #E53E3E;
        border-radius: 50%;
        margin-left: 6px;
        vertical-align: middle;
}

.user-meta-info {
        display: flex;
        gap: 24px;
        padding: 12px 16px;
        background-color: #EDF2F7;
        border-radius: var(--radius);
        margin-bottom: 20px;
        font-size: 13px;
        color: #4A5568;
}

.user-meta-item {
        display: flex;
        align-items: center;
        gap: 6px;
}

.user-meta-item svg {
        flex-shrink: 0;
        color: #718096;
}

.action-buttons {
        display: flex;
        align-items: center;
        gap: 4px;
}

.inline-form {
        display: inline;
        margin: 0;
        padding: 0;
}

.btn-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid var(--color-border);
        border-radius: 6px;
        background: var(--color-input-bg);
        color: var(--color-label);
        cursor: pointer;
        transition: all 0.15s ease;
        text-decoration: none;
}

.btn-icon:hover {
        background-color: #EDF2F7;
        color: var(--color-text);
}

.btn-icon svg {
        width: 16px;
        height: 16px;
}

.btn-icon-danger:hover {
        background-color: #FFF5F5;
        color: #C53030;
        border-color: #FED7D7;
}

.user-form {
        display: flex;
        flex-direction: column;
        gap: 24px;
}

.form-card {
        background: var(--color-input-bg);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        padding: 24px;
}

.form-card-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--color-border);
}

.form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
}

.required {
        color: var(--color-error);
}

.form-hint {
        display: block;
        font-size: 12px;
        color: var(--color-label);
        margin-top: 4px;
}

.checkbox-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        column-gap: 8px;
        row-gap: 0;
}

.checkbox-label {
        display: flex !important;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        line-height: 1.2;
        color: var(--color-text);
        cursor: pointer;
        padding: 6px 8px;
        border-radius: 6px;
        transition: background-color 0.15s ease;
}

.checkbox-label:hover {
        background-color: #EDF2F7;
}

.checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        accent-color: var(--color-secondary);
}

.toggle-label {
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        padding: 12px 16px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        background: var(--color-bg);
        transition: background-color 0.15s ease;
}

.toggle-label:hover {
        background-color: #EDF2F7;
}

.toggle-text {
        font-size: 14px;
        color: var(--color-text);
}

.toggle-switch {
        position: relative;
        display: inline-block;
        width: 44px;
        height: 24px;
        flex-shrink: 0;
}

.toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
}

.toggle-slider {
        position: absolute;
        inset: 0;
        background-color: #CBD5E0;
        border-radius: 24px;
        transition: background-color 0.2s ease;
}

.toggle-slider::before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background-color: #FFFFFF;
        border-radius: 50%;
        transition: transform 0.2s ease;
}

.toggle-switch input:checked + .toggle-slider {
        background-color: var(--color-secondary);
}

.toggle-switch input:checked + .toggle-slider::before {
        transform: translateX(20px);
}

.form-actions {
        display: flex;
        gap: 12px;
}

.photo-upload-row {
        display: flex;
        align-items: center;
        gap: 16px;
}

.current-photo {
        flex-shrink: 0;
}

.photo-preview {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid var(--color-border);
}

.photo-upload-field {
        flex: 1;
        min-width: 0;
}

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

.error-list li {
        padding: 2px 0;
}

.error-list li::before {
        content: "\2022 ";
        color: #C53030;
}

select.form-control {
        appearance: auto;
}

textarea.form-control {
        resize: vertical;
        font-family: var(--font-family);
}

.tfa-description {
        font-size: 14px;
        color: var(--color-label);
        line-height: 1.6;
        margin-bottom: 12px;
}

.tfa-qr-container {
        display: flex;
        justify-content: center;
        padding: 24px;
        margin: 16px 0;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
}

.tfa-qr-image {
        width: 200px;
        height: 200px;
}

.tfa-manual-key {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        margin-top: 12px;
}

.tfa-manual-label {
        font-size: 13px;
        color: var(--color-label);
        white-space: nowrap;
}

.tfa-secret-code {
        font-family: 'Courier New', Courier, monospace;
        font-size: 15px;
        font-weight: 700;
        color: var(--color-text);
        letter-spacing: 2px;
        word-break: break-all;
}

.tfa-code-input {
        text-align: center;
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 8px;
        font-family: 'Courier New', Courier, monospace;
}

.tfa-status-active {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: #F0FFF4;
        border: 1px solid #C6F6D5;
        border-radius: var(--radius);
        color: #276749;
        font-size: 14px;
        font-weight: 500;
}

.tfa-status-active svg {
        color: #48BB78;
        flex-shrink: 0;
}

.cat-add-form {
        margin-bottom: 24px;
}

.cat-add-inline {
        display: flex;
        gap: 8px;
        max-width: 500px;
}

.cat-add-inline .form-control {
        flex: 1;
}

.cat-card {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: var(--radius);
        margin-bottom: 16px;
}

.cat-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid #E2E8F0;
}

.cat-card-title {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        user-select: none;
}

.cat-chevron {
        transition: transform 0.2s ease;
        color: #718096;
        flex-shrink: 0;
}

.cat-name {
        font-size: 15px;
        font-weight: 600;
        color: var(--color-primary);
}

.cat-badge {
        font-size: 12px;
        color: #718096;
        background: #EDF2F7;
        padding: 2px 8px;
        border-radius: 10px;
        font-weight: 500;
}

.cat-card-actions {
        display: flex;
        align-items: center;
        gap: 4px;
}

.cat-edit-form {
        padding: 12px 16px;
        background: #F7FAFC;
        border-bottom: 1px solid #E2E8F0;
}

.cat-edit-fields {
        display: flex;
        gap: 8px;
        align-items: center;
}

.cat-edit-fields .form-control {
        flex: 1;
}

.cat-card-body {
        padding: 0;
}

.cat-option-add {
        padding: 8px 16px;
        border-bottom: 1px solid #EDF2F7;
}

.cat-option-add-form {
        display: flex;
        gap: 8px;
        align-items: center;
}

.cat-option-add-form .form-control {
        flex: 1;
        padding: 6px 12px;
        font-size: 13px;
}

.btn-icon-add {
        background: var(--color-secondary);
        color: #FFFFFF;
        border-radius: var(--radius);
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
}

.btn-icon-add:hover {
        background: #3182CE;
}

.cat-option-row {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        border-bottom: 1px solid #EDF2F7;
}

.cat-option-row:last-child {
        border-bottom: none;
}

.cat-option-name {
        flex: 1;
        font-size: 14px;
        color: #2D3748;
        display: flex;
        align-items: center;
        gap: 8px;
}

.color-swatch {
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 3px;
        border: 1px solid #CBD5E0;
        flex-shrink: 0;
}

.color-picker {
        width: 36px;
        height: 32px;
        padding: 2px;
        border: 1px solid #CBD5E0;
        border-radius: var(--radius);
        cursor: pointer;
        background: none;
        flex-shrink: 0;
}

.color-input-row {
        display: flex;
        align-items: center;
        gap: 10px;
}

.color-picker-lg {
        width: 48px;
        height: 40px;
        padding: 2px;
        border: 1px solid #CBD5E0;
        border-radius: var(--radius);
        cursor: pointer;
        background: none;
        flex-shrink: 0;
}

.color-hex-input {
        width: 100px;
        font-family: monospace;
        font-size: 14px;
}

.form-section {
        margin-bottom: 24px;
}

.form-section-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 16px;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--color-border);
}

.cat-option-actions {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-left: auto;
}

.cat-option-checkbox {
        background: none;
        border: none;
        cursor: pointer;
        padding: 2px;
        display: flex;
        align-items: center;
}

.cat-option-edit-form {
        width: 100%;
        margin-top: 8px;
}

.cat-option-edit-inline {
        display: flex;
        gap: 8px;
        align-items: center;
}

.cat-option-edit-inline .form-control {
        flex: 1;
        padding: 6px 12px;
        font-size: 13px;
}

.cat-option-empty {
        padding: 16px;
        text-align: center;
        color: #A0AEC0;
        font-size: 13px;
}

.cat-empty {
        text-align: center;
        color: #718096;
        padding: 40px;
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: var(--radius);
}

.page-subtitle {
        color: #718096;
        font-size: 15px;
        margin-top: 4px;
}

.vak-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 24px;
}

.vak-card {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 14px;
}

.vak-contact {
        margin-top: auto;
}

.vak-card-top {
        display: flex;
        align-items: center;
        gap: 14px;
}

.vak-avatar-img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
}

.vak-avatar-initials {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #E2E8F0;
        color: #4A5568;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        flex-shrink: 0;
}

.vak-card-info {
        min-width: 0;
}

.vak-name {
        font-size: 15px;
        font-weight: 600;
        color: #1A202C;
        margin-bottom: 4px;
}

.vak-detail {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #718096;
}

.vak-detail svg {
        flex-shrink: 0;
        stroke: #A0AEC0;
}

.vak-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
}

.vak-tag {
        display: inline-block;
        padding: 3px 10px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.5;
}

.vak-contact {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding-top: 10px;
        border-top: 1px solid #EDF2F7;
}

.vak-contact-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #4A5568;
}

.vak-contact-row svg {
        flex-shrink: 0;
        stroke: #A0AEC0;
}

.vak-contact-row a {
        color: #4A5568;
        text-decoration: none;
}

.vak-contact-row a:hover {
        color: var(--color-secondary);
        text-decoration: underline;
}

.status-badge {
        display: inline-flex;
        align-items: center;
        padding: 3px 10px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.4;
}

.status-concept {
        background-color: #EDF2F7;
        color: #4A5568;
}

.status-published {
        background-color: #C6F6D5;
        color: #22543D;
}

.status-delete-request {
        background-color: #FEFCBF;
        color: #975A16;
}

.status-deleted {
        background-color: #FED7D7;
        color: #9B2C2C;
}

.table-link {
        color: var(--color-text);
        text-decoration: none;
        font-weight: 500;
}

.table-link:hover {
        color: var(--color-secondary);
        text-decoration: underline;
}

.actions-cell {
        display: flex;
        gap: 6px;
        align-items: center;
}

.btn-sm {
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        text-decoration: none;
}

.btn-secondary {
        background-color: #EDF2F7;
        color: #4A5568;
}

.btn-secondary:hover {
        background-color: #E2E8F0;
}

.btn-danger {
        background-color: #FED7D7;
        color: #C53030;
}

.btn-danger:hover {
        background-color: #FEB2B2;
}

.btn-full {
        width: 100%;
        justify-content: center;
}

.empty-state {
        text-align: center;
        padding: 48px 24px;
        color: #A0AEC0;
        background: white;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
}

.back-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--color-secondary);
        text-decoration: none;
        font-size: 14px;
}

.back-link:hover {
        text-decoration: underline;
}

.form-grid-2 {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 24px;
        align-items: start;
}

.form-card {
        background: white;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
        padding: 20px;
        margin-bottom: 16px;
}

.form-card-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--color-border);
        font-family: var(--font-family);
}

.form-static-value {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        background: #F7FAFC;
        border-radius: 6px;
        font-size: 13px;
        color: #4A5568;
}

.form-static-value a {
        color: var(--color-secondary);
        text-decoration: none;
        word-break: break-all;
}

.form-static-value a:hover {
        text-decoration: underline;
}

.form-help {
        font-size: 12px;
        color: #A0AEC0;
        margin-top: 6px;
}

.form-meta-date {
        font-size: 13px;
        color: #718096;
        margin: 4px 0 0 0;
}

.form-control-file {
        display: block;
        width: 100%;
        font-size: 13px;
        padding: 8px;
        border: 1px dashed var(--color-border);
        border-radius: 6px;
        background: #F7FAFC;
        cursor: pointer;
}

.form-control-file:hover {
        border-color: var(--color-secondary);
}

.featured-image-preview {
        margin-bottom: 12px;
        border-radius: 6px;
        overflow: hidden;
}

.featured-image-preview img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 6px;
}

.document-list {
        margin-bottom: 12px;
}

.document-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 10px;
        background: #F7FAFC;
        border-radius: 6px;
        margin-bottom: 6px;
        font-size: 13px;
}

.document-info {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
}

.document-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
}

.document-size {
        color: #A0AEC0;
        font-size: 12px;
        white-space: nowrap;
}

.btn-icon-delete {
        background: none;
        border: none;
        cursor: pointer;
        color: #E53E3E;
        padding: 4px;
        border-radius: 4px;
        display: flex;
        align-items: center;
}

.btn-icon-delete:hover {
        background: #FED7D7;
}

#quill-editor {
        min-height: 300px;
        background: white;
        border-radius: 0 0 6px 6px;
}

.ql-toolbar.ql-snow {
        border-radius: 6px 6px 0 0;
        border-color: var(--color-border);
        background: #F7FAFC;
}

.ql-container.ql-snow {
        border-color: var(--color-border);
        border-radius: 0 0 6px 6px;
        font-family: var(--font-family);
        font-size: 14px;
}

.kennis-filters {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        padding: 10px 16px;
}

.kennis-search {
        position: relative;
        flex: 1;
        min-width: 0;
}

.kennis-search-icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-text-light, #A0AEC0);
        pointer-events: none;
}

.kennis-search-input {
        width: 100%;
        padding: 8px 8px 8px 36px;
        border: none;
        border-radius: var(--radius);
        font-family: var(--font-family);
        font-size: 14px;
        background: transparent;
        color: var(--color-text);
}

.kennis-search-input:focus {
        outline: none;
}

.kennis-search-input::placeholder {
        color: var(--color-text-light, #A0AEC0);
}

.kennis-filter-select {
        flex-shrink: 0;
        padding-left: 12px;
        border-left: 1px solid var(--color-border);
}

.kennis-select {
        padding: 8px 28px 8px 8px;
        border: none;
        border-radius: 0;
        font-family: var(--font-family);
        font-size: 14px;
        background: transparent;
        color: var(--color-text);
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23718096' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 4px center;
        white-space: nowrap;
}

.kennis-select:focus {
        outline: none;
}

.kennis-results-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding: 10px 16px;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        font-size: 14px;
        color: var(--color-text-light, #718096);
}

.kennis-clear-filters {
        color: var(--color-primary);
        text-decoration: none;
        font-weight: 500;
        font-size: 13px;
}

.kennis-clear-filters:hover {
        text-decoration: underline;
}

.kennis-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
}

.kennis-card {
        background: white;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
        overflow: hidden;
        text-decoration: none;
        color: var(--color-text);
        transition: box-shadow 0.2s, transform 0.2s;
        display: flex;
        flex-direction: column;
}

.kennis-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
}

.kennis-card-image {
        height: 200px;
        overflow: hidden;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
}

.kennis-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.kennis-card-placeholder img {
        object-fit: contain;
        padding: 20px;
}

.kennis-card-watermark {
        width: 80px;
        height: auto;
        opacity: 0.08;
        user-select: none;
        pointer-events: none;
}

.kennis-card-body {
        padding: 16px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
}

.kennis-card-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        font-family: var(--font-family);
}

.kennis-card-meta {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        color: #A0AEC0;
}

.kennis-card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 4px;
}

.article-header {
        display: flex;
        align-items: center;
        margin-bottom: 24px;
}

.article-featured-image {
        border-radius: var(--radius);
        overflow: hidden;
        margin-bottom: 24px;
        max-height: 400px;
}

.article-featured-image img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        max-height: 400px;
}

.article-content {
        background: white;
        border-radius: var(--radius);
        border: 1px solid var(--color-border);
        padding: 32px;
}

.article-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
}

.article-meta {
        display: flex;
        gap: 16px;
        font-size: 14px;
        color: #718096;
        margin-bottom: 16px;
}

.article-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 24px;
}

.article-body {
        line-height: 1.8;
        font-size: 15px;
        color: #2D3748;
}

.article-body h1,
.article-body h2,
.article-body h3 {
        margin-top: 24px;
        margin-bottom: 12px;
}

.article-body p {
        margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
        margin-bottom: 16px;
        padding-left: 24px;
}

.article-body blockquote {
        border-left: 3px solid var(--color-secondary);
        padding-left: 16px;
        margin: 16px 0;
        color: #4A5568;
        font-style: italic;
}

.article-body a {
        color: var(--color-secondary);
}

.article-documents {
        margin-top: 32px;
        padding-top: 24px;
        border-top: 1px solid var(--color-border);
}

.article-documents h3 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 12px;
        font-family: var(--font-family);
}

.document-download-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
}

.document-download-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        background: #F7FAFC;
        border-radius: 6px;
        text-decoration: none;
        color: var(--color-text);
        transition: background 0.15s;
}

.document-download-item:hover {
        background: #EDF2F7;
}

.document-download-item svg {
        flex-shrink: 0;
        stroke: var(--color-secondary);
}

.document-download-name {
        font-weight: 500;
        font-size: 14px;
}

.document-download-size {
        font-size: 12px;
        color: #A0AEC0;
}

.unread-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        background: #E53E3E;
        color: white;
        font-size: 11px;
        font-weight: 700;
        margin-left: 8px;
        vertical-align: middle;
}

.comments-section {
        margin-top: 40px;
        padding-top: 32px;
        border-top: 1px solid var(--color-border);
}

.comments-section h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 20px;
        font-family: var(--font-family);
}

.comment-form {
        margin-bottom: 32px;
}

.comment-form-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
}

.comment-textarea {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        font-family: var(--font-family);
        font-size: 14px;
        resize: vertical;
        min-height: 80px;
        background: white;
        color: var(--color-text);
        transition: border-color 0.2s;
}

.comment-textarea:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(107, 165, 210, 0.15);
}

.comment-textarea::placeholder {
        color: var(--color-text-light, #A0AEC0);
}

.comment-submit {
        align-self: flex-start;
}

.comments-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
}

.comment-item {
        padding: 16px;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        position: relative;
}

.comment-delete {
        position: absolute;
        top: 12px;
        right: 12px;
        background: none;
        border: none;
        cursor: pointer;
        color: #CBD5E0;
        padding: 4px;
        line-height: 1;
        border-radius: 4px;
        transition: color 0.15s, background 0.15s;
}

.comment-delete:hover {
        color: #E53E3E;
        background: #FFF5F5;
}

.comment-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
}

.comment-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: var(--color-primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 14px;
        flex-shrink: 0;
        overflow: hidden;
}

.comment-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.comment-meta {
        display: flex;
        flex-direction: column;
        gap: 2px;
}

.comment-author {
        font-weight: 600;
        font-size: 14px;
        color: var(--color-text);
}

.comment-date {
        font-size: 12px;
        color: var(--color-text-light, #A0AEC0);
}

.comment-body {
        font-size: 14px;
        line-height: 1.6;
        color: var(--color-text);
}

.comment-form-wrapper {
        position: relative;
}

.mention-dropdown {
        position: absolute;
        bottom: 100%;
        left: 0;
        right: 0;
        max-height: 200px;
        overflow-y: auto;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        z-index: 100;
        display: none;
        margin-bottom: 4px;
}

.mention-dropdown.visible {
        display: block;
}

.mention-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 12px;
        cursor: pointer;
        transition: background 0.1s;
}

.mention-item:hover,
.mention-item.active {
        background: #EDF2F7;
}

.mention-item-avatar {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--color-primary);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 12px;
        flex-shrink: 0;
        overflow: hidden;
}

.mention-item-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.mention-item-info {
        display: flex;
        flex-direction: column;
        min-width: 0;
}

.mention-item-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--color-text);
}

.mention-item-username {
        font-size: 12px;
        color: var(--color-text-light, #A0AEC0);
}

.comment-mention {
        color: var(--color-secondary, #4299E1);
        font-weight: 600;
}

.dashboard-recent {
        margin-top: 32px;
}

.dashboard-recent h2 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 0;
        color: var(--color-text);
}

.dashboard-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        gap: 16px;
}

.dashboard-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        user-select: none;
}

.dashboard-toggle input {
        display: none;
}

.dashboard-toggle-slider {
        position: relative;
        width: 38px;
        height: 20px;
        background: #e0e0cc;
        border-radius: 10px;
        transition: background 0.2s;
}

.dashboard-toggle-slider::after {
        content: '';
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        background: white;
        border-radius: 50%;
        transition: transform 0.2s;
}

.dashboard-toggle input:checked + .dashboard-toggle-slider {
        background: #001C82;
}

.dashboard-toggle input:checked + .dashboard-toggle-slider::after {
        transform: translateX(18px);
}

.profile-toggle {
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        user-select: none;
        padding: 8px 0;
}

.profile-toggle input {
        display: none;
}

.profile-toggle input:checked + .dashboard-toggle-slider {
        background: #001C82;
}

.profile-toggle input:checked + .dashboard-toggle-slider::after {
        transform: translateX(18px);
}

.profile-toggle-label {
        font-size: 14px;
        color: var(--color-text);
}

.dashboard-toggle-label {
        font-size: 13px;
        color: var(--color-text-light, #718096);
}

.dashboard-recent .kennis-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        overflow: hidden;
        max-height: none;
}

.dashboard-recent .kennis-grid .kennis-card:nth-child(n+5) {
        display: none;
}

.dashboard-comments-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
}

.dashboard-comment-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 16px;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        text-decoration: none;
        color: var(--color-text);
        transition: box-shadow 0.15s, transform 0.15s;
}

.dashboard-comment-item:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
}

.dashboard-comment-unread {
        border-left: 3px solid #E53E3E;
}

.dashboard-comment-avatar {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 50%;
        background: var(--color-primary, #4299E1);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 600;
        overflow: hidden;
}

.dashboard-comment-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.dashboard-comment-content {
        flex: 1;
        min-width: 0;
}

.dashboard-comment-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        margin-bottom: 2px;
}

.dashboard-comment-author {
        font-weight: 600;
        font-size: 14px;
}

.dashboard-comment-date {
        font-size: 12px;
        color: var(--color-text-light, #A0AEC0);
        white-space: nowrap;
}

.dashboard-comment-post {
        font-size: 12px;
        color: var(--color-text-light, #A0AEC0);
        margin-bottom: 4px;
}

.dashboard-comment-text {
        font-size: 13px;
        color: var(--color-text);
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
}

@media (max-width: 1400px) {
        .dashboard-recent .kennis-grid {
                grid-template-columns: repeat(3, 1fr);
        }
        .dashboard-recent .kennis-card:nth-child(n+4) {
                display: none;
        }
}

@media (max-width: 1100px) {
        .dashboard-recent .kennis-grid {
                grid-template-columns: repeat(2, 1fr);
        }
        .dashboard-recent .kennis-card:nth-child(n+3) {
                display: none;
        }
}

@media (max-width: 768px) {
        .login-wrapper {
                padding: 16px;
        }

        .login-card {
                padding: 24px;
        }

        .dashboard-wrapper {
                flex-direction: column;
        }

        .sidebar {
                width: 100%;
        }

        .main-content {
                padding: 24px 16px;
        }

        .page-header {
                flex-direction: column;
                gap: 16px;
        }

        .form-row {
                grid-template-columns: 1fr;
        }

        .data-table {
                font-size: 13px;
        }

        .form-grid-2 {
                grid-template-columns: 1fr;
        }

        .kennis-grid {
                grid-template-columns: 1fr;
        }

        .dashboard-recent .kennis-card:nth-child(n+2) {
                display: none;
        }

        .kennis-filters {
                flex-direction: column;
                align-items: stretch;
        }

        .kennis-filter-select {
                border-left: none;
                padding-left: 0;
                border-top: 1px solid var(--color-border);
                padding-top: 10px;
        }
}

.form-card-description {
        font-size: 14px;
        color: var(--color-text-light, #718096);
        margin-bottom: 24px;
        line-height: 1.5;
}

.integration-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
}

.integration-item {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        padding: 20px;
        transition: border-color 0.2s;
}

.integration-item:hover {
        border-color: #001C82;
}

.integration-item-header {
        display: flex;
        align-items: center;
        gap: 12px;
}

.integration-icon {
        width: 32px;
        height: 32px;
        color: #001C82;
        flex-shrink: 0;
}

.integration-item-info {
        flex: 1;
        min-width: 0;
}

.integration-item-name {
        font-size: 15px;
        font-weight: 600;
        color: var(--color-text);
        margin: 0;
}

.integration-item-type {
        font-size: 12px;
        color: var(--color-text-light, #718096);
        font-weight: 500;
}

.integration-status {
        font-size: 12px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 12px;
        white-space: nowrap;
}

.integration-status-active {
        background: #E6FFFA;
        color: #276749;
}

.integration-status-inactive {
        background: #FFF5F5;
        color: #C53030;
}

.integration-item-description {
        font-size: 13px;
        color: var(--color-text-light, #718096);
        margin: 12px 0 0;
        line-height: 1.5;
}

.integration-item-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 13px;
        color: #001C82;
        text-decoration: none;
        margin-top: 10px;
        font-weight: 500;
}

.integration-item-link:hover {
        text-decoration: underline;
}

.email-template-section {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        margin-top: 8px;
}

.email-template-name {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 15px;
        font-weight: 600;
        color: var(--color-text);
        margin: 0 0 8px;
}

.email-template-help {
        font-size: 13px;
        color: var(--color-text-light, #718096);
        margin: 0 0 16px;
        line-height: 1.5;
}

.email-template-variables {
        background: #f7f7f2;
        border: 1px solid var(--color-border);
        border-radius: 6px;
        padding: 12px 16px;
        margin-bottom: 20px;
        font-size: 13px;
        color: var(--color-text-light, #718096);
        line-height: 1.8;
}

.email-template-variables-label {
        display: block;
        font-weight: 600;
        color: var(--color-text);
        margin-bottom: 4px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
}

.email-template-variables code {
        background: #ffffff;
        border: 1px solid #d0d0c0;
        border-radius: 3px;
        padding: 1px 6px;
        font-size: 12px;
        color: #001C82;
        font-weight: 600;
        margin-right: 4px;
}

.email-template-preview-col {
        position: sticky;
        top: 20px;
        align-self: start;
}

.email-template-preview-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--color-text);
        margin: 0 0 12px;
}

.email-preview {
        border: 1px solid var(--color-border);
        border-radius: 8px;
        overflow: hidden;
        background: #f0f0f0;
}

.email-preview-subject {
        padding: 12px 16px;
        background: #ffffff;
        border-bottom: 1px solid var(--color-border);
        font-size: 13px;
        color: var(--color-text);
}

.email-preview-subject-label {
        font-weight: 600;
        margin-right: 6px;
        color: var(--color-text-light, #718096);
}

.email-preview-body {
        padding: 16px;
}

@media (max-width: 900px) {
        .email-template-section {
                grid-template-columns: 1fr;
        }

        .email-template-preview-col {
                position: static;
        }
}

.form-card-collapsible .form-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
}

.form-card-collapsible .form-card-header .form-card-title {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
}

.form-card-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
        color: var(--color-text-light, #718096);
        transition: color 0.2s, transform 0.3s;
        flex-shrink: 0;
}

.form-card-toggle svg {
        width: 20px;
        height: 20px;
        display: block;
}

.form-card-toggle:hover {
        color: var(--color-text);
}

.form-card-collapsible .form-card-body {
        display: none;
}

.form-card-collapsible.form-card-open .form-card-body {
        display: block;
}

.form-card-collapsible.form-card-open .form-card-toggle svg {
        transform: rotate(180deg);
}

.form-card-collapsible.form-card-open .form-card-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--color-border);
}

.logo-upload-section {
        display: flex;
        align-items: flex-start;
        gap: 24px;
}

.logo-upload-preview {
        flex-shrink: 0;
        width: 120px;
        height: 120px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--color-bg);
        overflow: hidden;
}

.logo-preview-img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
}

.logo-upload-actions {
        flex: 1;
}

.logo-upload-buttons {
        margin-top: 8px;
}

.stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
}

@media (max-width: 1100px) {
        .stats-grid {
                grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 600px) {
        .stats-grid {
                grid-template-columns: 1fr;
        }
}

.stat-card {
        background: #FFFFFF;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        padding: 24px;
        display: flex;
        align-items: center;
        gap: 16px;
}

.stat-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
}

.stat-card-icon svg {
        width: 24px;
        height: 24px;
}

.stat-card-icon-users {
        background: #EBF8FF;
        color: #2B6CB0;
}

.stat-card-icon-posts {
        background: #F0FFF4;
        color: #276749;
}

.stat-card-icon-comments {
        background: #FFFFF0;
        color: #975A16;
}

.stat-card-icon-emails {
        background: #FAF5FF;
        color: #6B46C1;
}

.stat-card-content {
        display: flex;
        flex-direction: column;
}

.stat-card-value {
        font-size: 28px;
        font-weight: 700;
        color: var(--color-text);
        line-height: 1.2;
}

.stat-card-label {
        font-size: 14px;
        color: var(--color-label);
        margin-top: 2px;
}

.stats-total-row {
        border-top: 2px solid var(--color-border);
}

.version-current-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #e0f2fe;
	color: #0369a1;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	margin-bottom: 24px;
}

.version-current-badge svg {
	flex-shrink: 0;
}

.version-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	flex-wrap: wrap;
	gap: 8px;
}

.version-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.version-number {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-text, #1e293b);
}

.version-tag {
	display: inline-block;
	background: #dcfce7;
	color: #15803d;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.version-date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6b7280;
	font-size: 14px;
}

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

.version-changes li {
	position: relative;
	padding: 6px 0 6px 20px;
	font-size: 14px;
	color: #374151;
	line-height: 1.5;
}

.version-changes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 13px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #6b9eff;
}

.version-latest {
	border-left: 3px solid #6b9eff;
}
