@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --sidebar-bg: #212529;
    --text-color: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: box-shadow 0.2s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color) !important;
}

/* Sidebar (Admin) */
.admin-sidebar {
    background-color: var(--sidebar-bg);
    min-height: 100vh;
    padding: 2rem 0;
    color: #fff;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
    font-size: 1.1rem;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

/* Stats */
.stat-card {
    padding: 1.5rem;
    border-radius: 10px;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Forms */
.form-control, .form-select {
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
}

/* Badges */
.badge {
    padding: 0.5em 1em;
    font-weight: 500;
    border-radius: 4px;
}

/* WhatsApp Card Styles */
.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(18, 140, 126, 0.2) !important;
}

.whatsapp-card h5, .whatsapp-card p {
    color: white !important;
}

.whatsapp-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Video Card Styles */
.video-card {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.video-card h6, .video-card p {
    color: white !important;
}

.video-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Report Card Styles */
.report-card {
    background: linear-gradient(135deg, #6f42c1 0%, #59359a 100%);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.report-card h6, .report-card p {
    color: white !important;
}

.report-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Support Card Styles */
.support-card {
    background: linear-gradient(135deg, #fd7e14 0%, #e66a00 100%);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.support-card h6, .support-card p {
    color: white !important;
}

.support-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.transition-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1) !important;
}


/* Profile & Settings */
.profile-card {
    border: none;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-pills .nav-link {
    border-radius: 10px;
    color: #4b5563;
    font-weight: 500;
    padding: 12px 20px;
    margin-bottom: 5px;
    border: 1px solid transparent;
}

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

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

/* Auth Pages */
.login-card {
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.login-header h4 {
    font-weight: 700;
    color: #1a1f36;
    letter-spacing: -0.5px;
}
