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

:root[data-theme="light"] {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-color: #8b5cf6;
    --background: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Status colors */
    --status-requested: #f59e0b;
    --status-approved: #10b981;
    --status-pending: #f59e0b;
    --status-rejected: #ef4444;
    --status-in-progress: #3b82f6;
    --status-done: #10b981;
    --status-todo: #64748b;
    --status-na: #94a3b8;
}

:root[data-theme="dark"] {
    --primary-color: #60a5fa;
    --primary-hover: #3b82f6;
    --accent-color: #a78bfa;
    --background: #0f172a;
    --surface: #1e293b;
    --surface-hover: #334155;
    --border: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);

    /* Status colors - darker theme */
    --status-approved: #10b981;
    --status-requested: #f59e0b;
    --status-pending: #f59e0b;
    --status-rejected: #ef4444;
    --status-in-progress: #60a5fa;
    --status-done: #10b981;
    --status-todo: #94a3b8;
    --status-na: #64748b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: var(--surface);
    box-shadow: var(--shadow-md);
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* Tabs in header */
.tabs {
    display: flex;
    gap: 6px;
}

.tab {
    padding: 8px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.tab:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.tab.active {
    background: var(--primary-color);
    color: white;
}

/* Search container */
.search-container {
    position: relative;
    margin-left: 12px;
}

.search-input {
    width: 200px;
    height: 44px;
    padding: 8px 36px 8px 12px;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--surface-hover);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 20px;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: var(--border);
    color: var(--text-primary);
}

.search-clear.visible {
    display: flex;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: 400px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-results.visible {
    display: block;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.search-result-group {
    border-bottom: 2px solid var(--border);
}

.search-result-group:last-child {
    border-bottom: none;
}

.search-result-group-header {
    padding: 10px 16px;
    background: var(--background);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.search-result-item {
    padding: 12px 16px 12px 24px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.search-result-group .search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--surface-hover);
}

.search-result-item.selected {
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid var(--primary-color);
    padding-left: 21px;
}

.search-result-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    font-size: 14px;
}

.search-result-match {
    font-size: 12px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-highlight {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 2px;
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* Theme toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--surface-hover);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    margin-left: 12px;
}

.theme-toggle:hover {
    background: var(--border);
}

/* Main content area */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    overflow: hidden;
}

/* Content wrapper - fixed width */
#content-container {
    width: 75%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card container with navigation */
.card-container {
    width: 100%;
    height: 100%;
    max-height: 800px;
    position: relative;
}

/* Navigation buttons - fixed to window edges */
.nav-button {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.nav-button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Data card */
.data-card {
    width: 100%;
    height: 100%;
    background: var(--surface);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    padding: 26px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Counter badge */
.counter-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* Card header (title area) */
.card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-right:50px;
    line-height: 1.3;
}

.card-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    border: 2px solid transparent;
}

.status-badge i {
    font-size: 14px;
}

/* Status color variations */
.status-requested {
    background: rgba(245, 158, 11, 0.15);
    color: var(--status-requested);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--status-approved);
    border-color: var(--status-approved);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--status-pending);
    border-color: rgba(245, 158, 11, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--status-rejected);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-in-progress {
    background: rgba(59, 130, 246, 0.15);
    color: var(--status-in-progress);
    border-color: rgba(59, 130, 246, 0.3);
}

.status-done {
    background: rgba(16, 185, 129, 0.15);
    color: var(--status-done);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-to-do {
    background: rgba(100, 116, 139, 0.15);
    color: var(--status-todo);
    border-color: rgba(100, 116, 139, 0.3);
}

.status-n-a {
    background: rgba(148, 163, 184, 0.15);
    color: var(--status-na);
    border-color: rgba(148, 163, 184, 0.3);
}

/* Meta items */
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Card body (scrollable content) */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
    overflow: hidden;
    padding-right: 8px;
    margin-bottom: 0px;
    min-height: 0;
}

/* Card footer */
.card-footer {
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

/* Ensure max 3 columns on larger screens */
@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(calc(33.333% - 12px), 1fr));
    }
}

.footer-item {
    background: var(--background);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.footer-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.footer-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.footer-value.empty {
    color: var(--text-muted);
    font-style: italic;
}

/* Markdown styling in footer values */
.footer-value p {
    margin: 0 0 0.5em 0;
}

.footer-value p:last-child {
    margin-bottom: 0;
}

.footer-value ul,
.footer-value ol {
    margin: 0 0 0.5em 0;
    padding-left: 1.2em;
}

.footer-value li {
    margin-bottom: 0.2em;
}

.footer-value a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.footer-value a:hover {
    border-bottom-color: var(--primary-color);
}

.footer-value strong {
    font-weight: 600;
}

.footer-value code {
    background: var(--surface);
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid var(--border);
}

/* Content sections */
.content-section {
    margin-bottom: 20px;
}

.content-section.bordered {
    background: var(--background);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    flex-shrink: 0;
}

.section-content {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.7;
    white-space: normal;
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
    min-height: 0;
}

.section-content.empty {
    color: var(--text-muted);
    font-style: italic;
}

/* Markdown styling in section content */
.section-content p {
    margin: 0 0 0.8em 0;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul,
.section-content ol {
    margin: 0 0 0.8em 0;
    padding-left: 1.5em;
}

.section-content li {
    margin-bottom: 0.3em;
}

.section-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.section-content a:hover {
    border-bottom-color: var(--primary-color);
}

.section-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.section-content em {
    font-style: italic;
}

.section-content code {
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    border: 1px solid var(--border);
}

/* Scrollbar styling for section content */
.section-content::-webkit-scrollbar {
    width: 6px;
}

.section-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.section-content::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.section-content::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* No data / Loading states */
.no-data, .loading {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-secondary);
}

.no-data-icon, .spinner-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    color: #ef4444;
    padding: 16px 24px;
    border-radius: 12px;
    margin: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #content-container {
        width: 85%;
    }

    .card-container {
        max-height: none;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .tabs {
        flex: 1;
        overflow-x: auto;
        min-width: 100%;
        order: 1;
    }

    .search-container {
        flex: 1;
        order: 2;
        margin-left: 0;
        margin-right: 8px;
    }

    .search-input {
        width: 100%;
    }

    .theme-toggle {
        order: 3;
        margin-left: 0;
    }

    h1 {
        font-size: 20px;
    }

    #content-container {
        width: 95%;
    }

    .nav-button {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .nav-button.prev {
        left: 10px;
    }

    .nav-button.next {
        right: 10px;
    }

    .data-card {
        padding: 24px;
    }

    .card-title {
        font-size: 22px;
    }

    .main-content {
        padding: 16px;
    }

    .theme-toggle-fixed {
        bottom: 16px;
        left: 16px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* ==================== Excel Import Feature ==================== */

/* Fixed Theme Toggle (Bottom-Left) */
.theme-toggle-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.theme-toggle-fixed:hover {
    background: var(--surface-hover);
    transform: scale(1.05);
}

/* Import Toggle Button (Header) */
.import-toggle {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: var(--surface-hover);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
    margin-left: 12px;
}

.import-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Import Modal */
.import-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.import-modal-content {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.import-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.import-modal-header h2 {
    margin: 0;
    font-size: 24px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.import-modal-header h2 i {
    color: var(--primary-color);
}

.import-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: var(--surface-hover);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.import-modal-close:hover {
    background: var(--border);
}

.import-disclaimer {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-left: 4px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-disclaimer i {
    color: var(--primary-color);
    font-size: 18px;
}

.import-dropzone {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--background);
}

.import-dropzone:hover,
.import-dropzone.drag-over {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.import-dropzone i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.import-dropzone.drag-over i {
    color: var(--primary-color);
    animation: bounce 0.5s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.import-dropzone-text {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.import-dropzone-subtext {
    color: var(--text-muted);
    font-size: 14px;
}

.import-dropzone input[type="file"] {
    display: none;
}

/* Import Banner (fixed bottom-right, compact, fully clickable) */
.import-banner-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 998;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: slideInUp 0.3s ease;
    user-select: none;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.import-banner-fixed:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.import-banner-fixed:active {
    transform: translateY(0) scale(0.98);
}

.import-banner-fixed i {
    font-size: 14px;
    flex-shrink: 0;
}

.import-banner-fixed .banner-text {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

/* Notification System */
.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 16px 20px;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2001;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.notification-success {
    border-left: 4px solid #10b981;
    color: var(--text-primary);
}

.notification-success i {
    color: #10b981;
    font-size: 20px;
}

.notification-error {
    border-left: 4px solid #ef4444;
    color: var(--text-primary);
}

.notification-error i {
    color: #ef4444;
    font-size: 20px;
}

.notification-info {
    border-left: 4px solid var(--primary-color);
    color: var(--text-primary);
}

.notification-info i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Confirmation Modal */
.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    animation: fadeIn 0.2s ease;
}

.confirm-modal-content {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px;
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

.confirm-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.confirm-modal-header i {
    font-size: 28px;
    color: #f59e0b;
}

.confirm-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.confirm-modal-body {
    margin-bottom: 24px;
}

.confirm-modal-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-btn-cancel,
.confirm-btn-restore {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.confirm-btn-cancel {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.confirm-btn-cancel:hover {
    background: var(--border);
}

.confirm-btn-restore {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.confirm-btn-restore:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.confirm-btn-restore i {
    font-size: 16px;
}
