:root {
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: #e5e5e5;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-hover: #f5f5f5;
    --sidebar-width: 260px;
    --header-height: 56px;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-top: var(--header-height);
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.app-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    background-color: #fff;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1001;
}

.mobile-menu-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: var(--bg-hover);
}

.header-logo {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    color: var(--text-primary);
}

.logo-version {
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0;
    border: 1px solid var(--border-color);
}

.header-account-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-support-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-support-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.header-account-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.header-account-toggle:hover {
    background: var(--bg-hover);
}

.header-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-black);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
    flex-shrink: 0;
}

.header-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.header-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-account-toggle:hover .header-chevron {
    transform: translateY(1px);
}

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1002;
    border: 1px solid var(--border-color);
}

.header-account-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-account-dropdown a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.header-account-dropdown a.separator-top {
    border-top: 1px solid var(--border-color);
    margin-top: 4px;
}

.header-account-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.header-account-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.header-account-dropdown a:hover {
    background: var(--bg-light);
}

.header-account-dropdown a svg {
    margin-right: 10px;
}

.sidebar {
    width: var(--sidebar-width);
    background: white;
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: var(--header-height);
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    color: var(--secondary-black);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 400;
}

.nav-item svg {
    margin-right: 12px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.nav-item:hover, .nav-item.active, .nav-item.home-active {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item-expandable:not(.expanded) .nav-item-parent.active {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item-expandable.expanded .nav-item-parent.active {
    background: transparent;
    color: var(--secondary-black);
}

.nav-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 20px 16px 8px 16px;
    letter-spacing: 0.5px;
}

.nav-item-expandable {
    margin-bottom: 5px;
}

.nav-item-parent {
    position: relative;
    padding-right: 36px;
}

.nav-item-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-right: 14px;
}

.nav-item-expandable.expanded .nav-item-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 42px;
}

.nav-item-expandable.expanded .nav-submenu {
    max-height: 500px;
}

.nav-subitem {
    display: block;
    padding: 8px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 400;
}

.nav-subitem:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-subitem.active {
    background: var(--bg-light);
    color: var(--text-primary);
    font-weight: 500;
}

@media (max-width: 991px) {
    .nav-submenu {
        padding-left: 36px;
    }
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: white;
    width: calc(100% - var(--sidebar-width));
}

.app-footer {
    background: white;
    border-top: 1px solid var(--border-color);
    padding: 15px 40px;
    text-align: center;
    margin-left: var(--sidebar-width);
    margin-top: 128px;
}

.app-footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-separator {
    color: var(--border-color);
    margin: 0 8px;
    font-size: 13px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-language {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-toggle:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.language-toggle .chevron {
    transition: transform 0.2s ease;
}

.language-toggle:hover .chevron {
    transform: translateY(1px);
}

.language-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option:hover {
    background: var(--bg-hover);
}

.language-option.active {
    background: var(--bg-light);
    font-weight: 600;
}

.content-wrapper {
    padding: 32px 40px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-sm {
    padding: 32px 40px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-md {
    padding: 32px 40px;
    max-width: 1020px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-lg {
    padding: 32px 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-xxl {
    padding: 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.content-wrapper-fluid {
    padding: 32px 40px;
    width: 100%;
}

@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-user-info {
        display: none;
    }
    
    .logo-version {
        display: none;
    }
    
    .app-header {
        justify-content: space-between;
    }
    
    .header-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        max-width: 80vw;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
    }
    
    .app-footer {
        padding: 16px 20px;
        margin-left: 0;
        width: 100%;
        max-width: 100vw;
        margin-top: 128px;
    }
    
    .content-wrapper,
    .content-wrapper-sm,
    .content-wrapper-md,
    .content-wrapper-lg,
    .content-wrapper-fluid {
        padding: 24px 20px;
        max-width: 100vw;
    }

    .content-wrapper .card,
    .content-wrapper-sm .card,
    .content-wrapper-md .card,
    .content-wrapper-lg .card,
    .content-wrapper-fluid .card {
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .content-wrapper,
    .content-wrapper-sm,
    .content-wrapper-md,
    .content-wrapper-lg,
    .content-wrapper-fluid {
        padding: 0px;
        max-width: 100vw;
        width: 100%;
    }

    .content-wrapper .card,
    .content-wrapper-sm .card,
    .content-wrapper-md .card,
    .content-wrapper-lg .card,
    .content-wrapper-fluid .card {
        border-radius: 0px;
    }
    
    .card.mobile-no-border-top {
        border-top: none;
    }
    
    .card.mobile-no-border-bottom {
        border-bottom: none;
    }
    
    .card.mobile-footer-transparent .card-footer {
        background: transparent;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-language {
        order: 3;
    }
    
    .footer-links {
        order: 1;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
        text-align: center;
    }
    
    .footer-copyright {
        order: 5;
    }
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary, .btn-dark {
    background: var(--primary-black);
    color: white;
}

.btn-primary:hover, .btn-dark:hover {
    background: var(--secondary-black);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active, .btn-dark:active,
.btn-primary:focus, .btn-dark:focus {
    background: var(--primary-black) !important;
    border-color: var(--primary-black) !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.btn-outline-primary, .btn-outline-dark {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

.btn-outline-primary:hover, .btn-outline-dark:hover {
    background: var(--primary-black);
    color: white;
    border-color: var(--primary-black);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-warning {
    background: #f59e0b;
    color: white;
}

.btn-warning:hover {
    background: #d97706;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 8px;
}

.btn-save {
    min-width: 140px;
}

.btn-save:disabled {
    background: var(--secondary-black);
    color: white;
    opacity: 0.7;
    cursor: not-allowed;
}

.card {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    overflow: visible!important;
}

.card-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 24px;
    font-weight: 500;
    font-size: 18px;
    color: var(--text-primary);
}

.card-header:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-body {
    padding: 24px;
}

.card-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
}

.form-control, .form-select {
    font-family: 'Inter', sans-serif;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.2s ease;
    max-width: 100%;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group {
    border-radius: 6px;
    max-width: 100%;
}

.input-group .form-control {
    border-radius: 0 6px 6px 0;
}

.input-group-text {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 16px;
}

.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
}

.form-check-input:checked {
    background-color: var(--primary-black);
    border-color: var(--primary-black);
}

.form-switch .form-check-input {
    width: 44px;
    height: 24px;
    border-radius: 12px;
    margin-right: 8px;
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    background: var(--bg-light);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border: none;
}

.table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.table thead th:last-child {
    border-radius: 0 6px 0 0;
}

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

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

.table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

.table tbody tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

.table-hover tbody tr:hover {
    background: var(--bg-hover);
}

.badge {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
}

.badge.bg-primary, .badge.bg-dark {
    background: rgba(0, 0, 0, 0.1) !important;
    color: var(--primary-black);
}

.badge.bg-success {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10b981;
}

.badge.bg-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444;
}

.badge.bg-warning {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706;
}

.badge.bg-info {
    background: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 16px 20px;
    font-weight: 500;
}

.alert-primary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-black);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.list-group-item {
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.list-group-item:first-child {
    border-radius: 8px 8px 0 0;
}

.list-group-item:last-child {
    border-radius: 0 0 8px 8px;
}

.list-group-item:hover {
    background: var(--bg-hover);
}

.list-group-item.active {
    background: var(--primary-black);
    border-color: var(--primary-black);
    color: white;
    font-weight: 600;
}

.nav-tabs {
    border-bottom: 2px solid var(--border-color);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.nav-tabs .nav-link.active {
    color: var(--primary-black);
    background: white;
    border-bottom: 3px solid var(--primary-black);
}

.nav-pills .nav-link {
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 20px;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-pills .nav-link.active {
    background: var(--primary-black);
    color: white;
}

.pagination {
    gap: 8px;
}

.page-link {
    border-radius: 6px;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 8px 14px;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--bg-hover);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.page-item.active .page-link {
    background: var(--primary-black);
    border-color: var(--primary-black);
    color: white;
}

.breadcrumb {
    background: var(--bg-light);
    border-radius: 6px;
    padding: 12px 20px;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--text-primary);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.progress {
    height: 12px;
    border-radius: 6px;
    background: var(--border-color);
}

.progress-bar {
    background: var(--primary-black);
    border-radius: 6px;
}

.dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px;
}

.dropdown-item {
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.dropdown-item.active {
    background: var(--primary-black);
    color: white;
}

.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
}

.modal-title {
    font-weight: 700;
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 24px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.text-primary {
    color: var(--primary-black) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-warning {
    color: #f59e0b !important;
}

.text-info {
    color: #3b82f6 !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.small, small {
    font-size: 0.875rem;
}

.bg-primary {
    background-color: var(--primary-black) !important;
}

.bg-success {
    background-color: #10b981 !important;
}

.bg-danger {
    background-color: #ef4444 !important;
}

.bg-warning {
    background-color: #f59e0b !important;
}

.bg-info {
    background-color: #3b82f6 !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-dark {
    background-color: var(--primary-black) !important;
}

.bg-white {
    background-color: white !important;
}

.border {
    border: 1px solid var(--border-color) !important;
}

.border-2 {
    border-width: 2px !important;
}

.border-3 {
    border-width: 3px !important;
}

.border-top {
    border-top: 1px solid var(--border-color) !important;
}

.border-bottom {
    border-bottom: 1px solid var(--border-color) !important;
}

.border-start {
    border-left: 1px solid var(--border-color) !important;
}

.border-end {
    border-right: 1px solid var(--border-color) !important;
}

.border-primary {
    border-color: var(--primary-black) !important;
}

.border-success {
    border-color: #10b981 !important;
}

.border-danger {
    border-color: #ef4444 !important;
}

.border-0 {
    border: 0 !important;
}

.rounded {
    border-radius: 0.5rem !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-0 {
    border-radius: 0 !important;
}

hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    opacity: 1;
}

.accordion {
    --bs-accordion-border-color: var(--border-color);
    --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-item {
    border: 1px solid #d1d5db;
    margin-bottom: 12px;
    border-radius: 8px !important;
    overflow: visible;
    background: white;
}

.accordion-item:first-of-type {
    border-radius: 8px !important;
}

.accordion-item:first-of-type .accordion-button {
    border-radius: 8px !important;
}

.accordion-item:last-of-type {
    border-radius: 8px !important;
    margin-bottom: 0;
}

.accordion-button {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-primary);
    background: white;
    padding: 16px 20px;
    border: none;
    border-radius: 8px !important;
}

.accordion-button:not(.collapsed) {
    background: white;
    color: var(--primary-black);
    box-shadow: none;
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid #d1d5db;
}

.accordion-button.collapsed {
    border-radius: 8px !important;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-collapse {
    border-radius: 0 0 8px 8px !important;
}

.accordion-body {
    padding: 16px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 0 0 8px 8px !important;
}

.choices__inner {
    background-color: #fff!important;
    border-radius: 6px!important;
}

.swal2-popup {
    border-radius: 16px !important;
    padding: 32px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.swal2-icon {
    border: none !important;
    margin: 24px auto 20px !important;
}

.swal2-icon.swal2-success {
    border-color: transparent !important;
}

.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.2) !important;
}

.swal2-icon.swal2-error {
    border-color: transparent !important;
}

.swal2-icon.swal2-error [class^='swal2-x-mark-line'] {
    background-color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    border-color: transparent !important;
    color: #f59e0b !important;
}

.swal2-icon.swal2-info {
    border-color: transparent !important;
    color: #3b82f6 !important;
}

.swal2-icon.swal2-question {
    border-color: transparent !important;
    color: #8b5cf6 !important;
}

.swal2-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    padding: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

.swal2-html-container {
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.6 !important;
    margin: 0 0 24px 0 !important;
    font-weight: 400 !important;
}

.swal2-actions {
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

.swal2-confirm {
    background: #000000 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    min-width: 120px !important;
}

.swal2-confirm:hover {
    background: #1a1a1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1) !important;
}

.swal2-cancel {
    background: transparent !important;
    color: #000000 !important;
    border: 2px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    min-width: 120px !important;
}

.swal2-cancel:hover {
    background: #f8f9fa !important;
    border-color: #666666 !important;
    transform: translateY(-1px) !important;
}

.swal2-cancel:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.swal2-deny {
    background: #ef4444 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 12px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    min-width: 120px !important;
}

.swal2-deny:hover {
    background: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
}

.swal2-deny:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.swal2-close {
    font-size: 28px !important;
    color: #999999 !important;
    transition: all 0.2s ease !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 6px !important;
    right: 16px !important;
    top: 16px !important;
}

.swal2-close:hover {
    color: #000000 !important;
    background: #f5f5f5 !important;
    transform: rotate(90deg) !important;
}

.swal2-close:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
}

.swal2-input,
.swal2-textarea {
    border-radius: 8px !important;
    border: 2px solid #e5e5e5 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
    margin: 12px auto !important;
}

.swal2-input:focus,
.swal2-textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
}

.swal2-input::placeholder,
.swal2-textarea::placeholder {
    color: #999999 !important;
}

.swal2-select {
    border-radius: 8px !important;
    border: 2px solid #e5e5e5 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
    margin: 12px auto !important;
}

.swal2-select:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05) !important;
    outline: none !important;
}

.swal2-radio,
.swal2-checkbox {
    margin: 16px 0 !important;
}

.swal2-radio label,
.swal2-checkbox label {
    font-size: 15px !important;
    color: #000000 !important;
    font-weight: 500 !important;
}

.swal2-file {
    border-radius: 8px !important;
    border: 2px solid #e5e5e5 !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.swal2-range {
    margin: 20px 0 !important;
}

.swal2-range input {
    border-radius: 8px !important;
}

.swal2-range output {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

.swal2-validation-message {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
    border-radius: 8px !important;
    padding: 10px 16px !important;
    margin: 12px 0 0 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.swal2-validation-message::before {
    background-color: #dc2626 !important;
}

.swal2-progress-steps {
    margin: 0 0 24px 0 !important;
}

.swal2-progress-step {
    background: #e5e5e5 !important;
    color: #666666 !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.swal2-progress-step.swal2-active-progress-step {
    background: #000000 !important;
    color: white !important;
}

.swal2-progress-step-line {
    background: #e5e5e5 !important;
    height: 2px !important;
}

.swal2-footer {
    border-top: 1px solid #e5e5e5 !important;
    color: #666666 !important;
    font-size: 13px !important;
    padding: 16px 0 0 0 !important;
    margin: 24px 0 0 0 !important;
}

.swal2-timer-progress-bar {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 8px 8px 0 0 !important;
    height: 3px !important;
}

.swal2-container {
    background-color: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(2px) !important;
}

.swal2-loader {
    border-color: rgba(0, 0, 0, 0.2) !important;
    border-left-color: #000000 !important;
}

.swal2-toast {
    border-radius: 12px !important;
    padding: 16px 20px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.swal2-toast .swal2-title {
    font-size: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.swal2-toast .swal2-close {
    font-size: 20px !important;
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
}

@media (max-width: 768px) {
    .swal2-popup {
        padding: 24px !important;
        border-radius: 12px !important;
        width: calc(100% - 32px) !important;
        max-width: 400px !important;
    }
    
    .swal2-title {
        font-size: 20px !important;
    }
    
    .swal2-html-container {
        font-size: 14px !important;
    }
    
    .swal2-confirm,
    .swal2-cancel,
    .swal2-deny {
        padding: 10px 24px !important;
        font-size: 14px !important;
        min-width: 100px !important;
    }
    
    .swal2-actions {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .swal2-actions button {
        width: 100% !important;
    }
}

@keyframes swal2-show {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes swal2-hide {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

.swal2-show {
    animation: swal2-show 0.2s ease-out !important;
}

.swal2-hide {
    animation: swal2-hide 0.15s ease-in !important;
}