/* ============================================
   VARIABLES CSS Y RESET (Estilo Minimalista B&W)
============================================ */

:root {
    /* Shadcn/UI inspired variables */
    --background: #ffffff;
    --foreground: #09090b;
    
    --card: #ffffff;
    --card-foreground: #09090b;
    
    --popover: #ffffff;
    --popover-foreground: #09090b;
    
    --primary: #09090b; /* Negro intenso */
    --primary-foreground: #fafafa; /* Blanco */
    
    --secondary: #f4f4f5; /* Gris muy claro */
    --secondary-foreground: #18181b;
    
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    
    --accent: #f4f4f5;
    --accent-foreground: #18181b;
    
    --destructive: #ef4444;
    --destructive-foreground: #fafafa;
    
    --border: #e4e4e7;
    --input: #e4e4e7;
    --ring: #18181b;
    
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Mapeo a variables legacy (para compatibilidad) */
    --primary-color: var(--primary);
    --primary-dark: #000000;
    --secondary-color: #52525b;
    --accent-color: #27272a;
    --danger-color: var(--destructive);
    --warning-color: #f59e0b;
    --success-color: #10b981; /* Mantener verde solo para estados de éxito */
    --info-color: #3b82f6;
    --dark-color: var(--foreground);
    --light-color: var(--background);
    --border-color: var(--border);
    
    --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
}

/* ============================================
   SIDEBAR GLOBAL
============================================ */

.sidebar {
    width: 260px;
    background: var(--card);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 50;
    transition: transform 0.3s ease, width 0.3s ease;
    overflow-x: hidden;
    white-space: nowrap;
}

.sidebar.collapsed {
    width: 70px !important;
}

.sidebar.collapsed .sidebar-logo span,
.sidebar.collapsed .sidebar-user-info,
.sidebar.collapsed .sidebar-menu-item span,
.sidebar.collapsed .sidebar-logout span {
    display: none;
}

.sidebar.collapsed .sidebar-header {
    justify-content: center;
    padding: 1rem;
}

.sidebar.collapsed .sidebar-user {
    justify-content: center;
    padding: 1rem;
}

.sidebar.collapsed .sidebar-menu-item {
    justify-content: center;
    padding: 0.75rem;
}

.sidebar.collapsed .sidebar-menu-item i {
    font-size: 1.25rem;
    margin: 0;
}

.sidebar.collapsed .sidebar-logout {
    justify-content: center;
    padding: 0.75rem;
}

.desktop-toggle-btn {
    background: transparent;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0.25rem;
    width: 28px;
    height: 28px;
    display: none; /* Hidden on mobile */
    color: var(--muted-foreground);
    
    /* Animation properties */
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
    pointer-events: none;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-header:hover .desktop-toggle-btn {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.desktop-toggle-btn:hover {
    background: var(--accent);
    color: var(--foreground);
}

@media (min-width: 769px) {
    .desktop-toggle-btn {
        display: flex;
        /* margin-left: auto; */ /* Ya no es necesario con el cambio de orden */
    }
    
    .sidebar.collapsed ~ .main-content {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
    letter-spacing: -0.025em;
}

.logo-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 24px; /* Ancho fijo para evitar salto */
}

.sidebar-logo i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-arrow {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateX(-10px);
    font-size: 1.2rem !important; /* Ajustar tamaño */
    color: var(--primary);
}

.logo-icon-wrapper:hover i.fa-robot {
    opacity: 0;
    transform: translateX(10px);
}

.logo-icon-wrapper:hover .logo-arrow {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-user {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--secondary-foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

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

.sidebar-user-name {
    font-weight: 600;
    color: var(--foreground);
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-menu {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--muted-foreground);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.sidebar-menu-item:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

.sidebar-menu-item.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

.sidebar-menu-item i {
    width: 1.25rem;
    text-align: center;
    font-size: 1rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 500;
}

.sidebar-logout:hover {
    background: #e4e4e7; /* slightly darker gray */
}

/* ============================================
   MAIN CONTENT
============================================ */

.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 2rem;
    width: calc(100% - 260px);
    background-color: var(--background);
    min-height: 100vh;
    transition: margin-left 0.3s ease, width 0.3s ease; /* 🆕 Smooth push effect */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   USERS LIST VIEW
============================================ */
.users-container {
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.users-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.action-bar {
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--foreground);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--foreground);
    min-width: 150px;
}

.btn-add {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* List View Styles */
.users-list-view {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-card {
    background: var(--card);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
}

.user-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.user-card.locked {
    border-left: 4px solid var(--destructive);
}

.user-content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 0;
}

.user-header-info {
    min-width: 250px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--foreground);
    flex-shrink: 0;
}

.user-info-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.user-role-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--secondary);
    color: var(--muted-foreground);
    display: inline-block;
    margin-top: 2px;
    text-transform: capitalize;
}

.user-metrics {
    display: flex;
    gap: 2rem;
    flex: 1;
    color: var(--muted-foreground);
    font-size: 0.9rem;
    align-items: center;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.metric-item i {
    width: 16px;
    text-align: center;
}

.user-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.user-status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--secondary);
    color: var(--foreground);
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--destructive);
    border-color: var(--destructive);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: var(--card);
    border-radius: 6px;
    cursor: pointer;
    color: var(--foreground);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.page-btn:hover:not(:disabled) {
    background: var(--secondary);
}

.page-btn.active {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Users List */
@media (max-width: 900px) {
    .user-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .user-card {
        flex-direction: column;
        align-items: stretch;
    }
    
    .user-metrics {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .user-actions {
        width: 100%;
        justify-content: flex-end;
        border-top: 1px solid var(--border);
        padding-top: 1rem;
    }
}

/* ============================================
   MODALS (Global)
============================================ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show, .modal[style*="display: flex"] {
    display: flex !important;
    opacity: 1;
}

.modal-content {
    background: var(--card);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content, .modal[style*="display: flex"] .modal-content {
    transform: translateY(0);
}

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

.modal-header h2 {
    margin: 0;
    color: var(--foreground);
    font-size: 1.25rem;
    font-weight: 600;
}

.close-btn, .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted-foreground);
    padding: 0;
    line-height: 1;
}

.close-btn:hover, .modal-close:hover {
    color: var(--foreground);
}

.modal-footer {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Button variants for modal */
.btn-cancel {
    padding: 10px 20px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--foreground);
    font-weight: 500;
}

.btn-save {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
}

/* Panels / Cards */
.panel {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.panel-header {
    background: transparent;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.panel-header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    letter-spacing: -0.025em;
    margin: 0;
}

.panel-body {
    padding: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    border: 1px solid transparent;
    text-decoration: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: rgba(9, 9, 11, 0.9);
}

.btn-secondary, .btn-default {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: rgba(244, 244, 245, 0.8);
}

.btn-danger {
    background-color: var(--destructive);
    color: var(--destructive-foreground);
}

.btn-danger:hover {
    background-color: rgba(239, 68, 68, 0.9);
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid var(--input);
    background-color: transparent;
    border-radius: var(--radius);
    transition: border-color 0.2s;
    color: var(--foreground);
}

.form-control:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 1px var(--ring);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    gap: 0.375rem;
}

.status-badge.connected {
    background-color: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.disconnected {
    background-color: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.status-queue {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.text-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Toggle Switch (Custom styled) */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--input);
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

/* ============================================
   QUEUE PAGE STYLES
============================================ */
.queue-container {
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.queue-page-header {
    margin-bottom: 30px;
}

.queue-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 0.5rem 0;
}

.queue-page-header p {
    color: var(--muted-foreground);
    margin: 0;
    font-size: 1rem;
}

/* Stats Grid */
.queue-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 0; /* Let panel handle padding */
}

.queue-stat-card {
    background: var(--secondary);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid transparent;
    transition: transform 0.2s;
}

.queue-stat-card:hover {
    transform: translateY(-2px);
}

.queue-stat-card.stat-pending { border-left-color: var(--muted-foreground); }
.queue-stat-card.stat-assigned { border-left-color: var(--primary); }
.queue-stat-card.stat-resolved { border-left-color: var(--foreground); }

.queue-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
    line-height: 1;
}

.queue-stat-label {
    color: var(--muted-foreground);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Header */
.queue-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.queue-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.queue-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap; /* Prevent awkward wrapping */
}

.users-table th, .users-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    color: var(--foreground);
}

.users-table th {
    background: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
}

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

.users-table tr:hover {
    background: var(--secondary);
}

/* Custom Table Badges */
.pos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    height: 36px;
}

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

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

/* Alert variations for Queue */
.alert.show {
    display: block;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Contenedor de notificaciones - DEBE superponerse al chat */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast-notification {
    pointer-events: auto;
    background: var(--background);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

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

.toast-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--foreground);
}

.toast-message {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Custom Confirmation Modal */
.custom-confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-confirm-modal.show {
    display: flex;
    opacity: 1;
}

.custom-confirm-content {
    background: var(--card);
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    text-align: center;
}

.custom-confirm-icon {
    margin-bottom: 20px;
}

.custom-confirm-icon i {
    font-size: 60px;
    color: var(--primary);
}

.custom-confirm-title {
    margin: 0 0 10px 0;
    color: var(--foreground);
    font-size: 1.5rem;
    font-weight: 700;
}

.custom-confirm-text {
    margin: 0 0 25px 0;
    color: var(--muted-foreground);
    font-size: 1rem;
    line-height: 1.5;
}

.custom-confirm-actions {
    display: flex;
    gap: 15px;
}

.custom-confirm-actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.75rem;
    font-size: 1rem;
}

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

/* Responsive Utilities */
.d-none { display: none !important; }
.d-inline { display: inline !important; }

@media (min-width: 640px) {
    .d-sm-inline { display: inline !important; }
    .d-sm-none { display: none !important; }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 1rem;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
}
