/* Import Fonts via CSS if needed, but currently handling via HTML link */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --bg-color: #f3f4f6;
    --card-bg: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.bg-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
}

/* Custom Modal Styles to work with manual display:block toggle */
.custom-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.custom-modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 600px;
    pointer-events: none;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

.custom-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    outline: 0;
}

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

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

/* Table Styles Override */
.table thead th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
    color: #6b7280;
    border-bottom-width: 1px;
    padding: 0.75rem 1rem;
}

.table tbody td {
    padding: 1rem 1rem;
    vertical-align: middle;
    color: #374151;
    border-bottom-color: #f3f4f6;
}

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

.avatar-placeholder {
    width: 36px;
    height: 36px;
    background-color: #e0e7ff;
    color: #4f46e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-detail-row {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}
.user-detail-row:last-child {
    border-bottom: none;
}
.user-detail-label {
    width: 140px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
}
.user-detail-value {
    flex: 1;
    color: #111827;
    font-weight: 500;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
