﻿/* FaceTime Admin Global Theme - Matching Login Page */
:root {
    --ft-primary: #667eea;
    --ft-primary-dark: #764ba2;
    --ft-bg-light: #f5f7fb;
    --ft-card-bg: #ffffff;
    --ft-text-dark: #1f2937;
    --ft-text-muted: #6b7280;
}
.bg-default {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}
/* Body Background - Light like login page */
body {
    background: #f5f7fb !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}
/* Content Wrapper */
.content-wrapper {
    background: #f5f7fb !important;
}

/* Card Styling - White like login card */
.card {
    background: #ffffff !important;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    color: #1f2937;
    font-weight: 600;
}

/* Buttons - Gradient matching login */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    transition: all 0.3s ease;
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }


.btn-outline-primary.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
}

/* Tables */
.table {
    color: #374151 !important;
}

    .table thead th {
        background: #f9fafb;
        border-bottom: 2px solid #e5e7eb;
        color: #4b5563;
        font-weight: 600;
    }

    .table tbody tr:hover {
        background: #f9fafb !important;
    }

/* Info Boxes - White background */
.info-box {
    background: #ffffff !important;
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

    .info-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.info-box-icon {
    border-radius: 12px 0 0 12px;
}

.info-box-number {
    color: #1f2937;
    font-weight: 700;
    font-size: 1.5rem;
}

.info-box-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Badges */
.badge-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* Alerts */
.alert-success {
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.alert-danger {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert-info {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

/* Form Controls */
.form-control {
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    color: #374151;
}

    .form-control:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    }

.form-label {
    color: #374151;
    font-weight: 500;
}

/* Pagination */
.page-link {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}

    .page-link:hover {
        background: #f9fafb;
        color: #667eea;
    }

.page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* Nav Tabs */
.nav-tabs {
    border-bottom: 1px solid #e5e7eb;
}

    .nav-tabs .nav-link {
        color: #6b7280;
    }

        .nav-tabs .nav-link.active {
            background: #ffffff;
            border-color: #e5e7eb;
            color: #667eea;
            border-bottom-color: transparent;
        }

/* Progress Bars */
.progress {
    background: #e5e7eb;
}

.progress-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Modals */
.modal-content {
    background: #ffffff !important;
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
}

/* Dropdowns */
.dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #374151;
}

    .dropdown-item:hover {
        background: #f9fafb;
        color: #667eea;
    }

/* Small Text */
.text-muted {
    color: #6b7280 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #764ba2;
    }
