@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --pink-primary: #FF5A79;
    --pink-dark: #E03E5C;
    --pink-light: #FFF0F2;
    --pink-sidebar: #1E1E2D; /* Professional Dark Slate Sidebar */
    --pink-sidebar-active: #FF5A79;
    --pink-hover: #FFF5F7;
    --white: #FFFFFF;
    --bg-light: #FDFBFC;
    --text-primary: #2D2D3A;
    --text-muted: #75758A;
    --border-color: #F1E3E6;
    --shadow-sm: 0 4px 6px rgba(255, 90, 121, 0.02);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 15px 35px rgba(255, 90, 121, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-primary);
}

.serif-title {
    font-family: var(--font-serif);
    font-weight: 600;
}

/* Buttons */
.btn-pink {
    background-color: var(--pink-primary);
    border: 1px solid var(--pink-primary);
    color: var(--white) !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 90, 121, 0.25);
}

.btn-pink:hover {
    background-color: var(--pink-dark);
    border-color: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(224, 62, 92, 0.35);
}

.btn-outline-pink {
    background-color: transparent;
    border: 2px solid var(--pink-primary);
    color: var(--pink-primary) !important;
    font-weight: 600;
    padding: 0.5rem 1.4rem;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-outline-pink:hover {
    background-color: var(--pink-primary);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 90, 121, 0.2);
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 0.8rem 0;
}

.navbar-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    letter-spacing: -0.5px;
}

.navbar-brand span {
    color: var(--pink-primary);
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--pink-primary) !important;
}

/* Sidebar Navigation */
.sidebar {
    background-color: var(--white) !important; /* Premium White Background */
    min-height: 100vh;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.02);
    border-right: 1px solid var(--border-color);
    z-index: 100;
    transition: var(--transition);
}

.sidebar-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.5px;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 1rem !important;
}

.sidebar-brand h4 {
    color: var(--text-primary) !important;
}

.sidebar-brand h4 span {
    color: var(--pink-primary);
}

.sidebar-brand p, .sidebar-brand small {
    color: var(--text-muted) !important;
}

.sidebar .nav-link {
    color: var(--text-primary) !important;
    padding: 0.8rem 1.5rem !important;
    margin: 4px 12px;
    border-radius: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
}

.sidebar .nav-link i {
    color: var(--text-muted) !important;
    transition: var(--transition);
}

.sidebar .nav-link i, .sidebar .nav-link span {
    transition: var(--transition);
}

.sidebar .nav-link:hover {
    color: var(--pink-primary) !important;
    background-color: var(--pink-hover) !important;
    transform: translateX(3px);
}

.sidebar .nav-link:hover i {
    color: var(--pink-primary) !important;
}

.sidebar .nav-link.active {
    color: var(--white) !important;
    background-color: var(--pink-primary) !important;
    box-shadow: 0 4px 15px rgba(255, 90, 121, 0.25);
}

.sidebar .nav-link.active i {
    color: var(--white) !important;
}

/* Main Content Layout */
.main-content {
    background-color: var(--bg-light);
    min-height: 100vh;
    padding: 2.5rem;
}

/* Cards & Containers */
.card, .dashboard-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover, .dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 90, 121, 0.15);
}

.card-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 4px rgba(255, 90, 121, 0.08);
    background-color: var(--white);
    outline: none;
}

/* Tables */
.table-responsive {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table {
    margin-bottom: 0;
    border-collapse: separate;
}

.table th {
    background-color: var(--pink-light);
    color: var(--pink-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: var(--pink-hover);
}

/* Badges */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
}

.badge.bg-success, .status-completed {
    background-color: #E2F9EC !important;
    color: #1F9254 !important;
}

.badge.bg-warning, .status-pending {
    background-color: #FFF2E2 !important;
    color: #A05E03 !important;
}

.badge.bg-danger, .badge.bg-rejected {
    background-color: #FFEAEF !important;
    color: #D32F2F !important;
}

.badge.bg-info, .status-processing {
    background-color: #E6F5FF !important;
    color: #0277BD !important;
}

/* Login/Register Specific */
.auth-wrapper {
    background: radial-gradient(at 0% 0%, rgba(255, 90, 121, 0.12) 0, transparent 60%), 
                radial-gradient(at 100% 100%, rgba(30, 30, 45, 0.05) 0, transparent 60%), #FFF8F9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(255, 90, 121, 0.05);
    width: 100%;
    max-width: 440px;
    padding: 2.5rem;
}

/* Stat Cards */
.stat-card {
    border-left: 4px solid var(--pink-primary) !important;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

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

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.positive-change {
    color: #1F9254;
    font-weight: 600;
}

/* Hero Landing Page styling */
.hero-section {
    background: radial-gradient(at 0% 0%, rgba(255, 90, 121, 0.12) 0, transparent 50%), 
                radial-gradient(at 100% 100%, rgba(30, 30, 45, 0.03) 0, transparent 50%), #FFF9FA;
    padding: 9rem 0 6rem 0;
    border-bottom: 1px solid var(--border-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #EBEAEF;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-primary);
}

/* Custom Premium Footer Styling */
footer {
    background-color: #0F0F16 !important; /* Deep luxury dark background */
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem 0 !important;
}

footer h5, footer h6 {
    color: #FFFFFF !important;
    font-family: var(--font-serif);
    font-weight: 700;
}

footer h6 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pink-primary) !important; /* Elegant pink subheaders */
}

footer .serif-title span {
    color: var(--pink-primary);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.6;
    font-size: 0.88rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 0.88rem;
}

.footer-link:hover {
    color: var(--pink-primary) !important;
    transform: translateX(4px);
}

.footer-contact-list li {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6) !important;
    align-items: center;
}

.footer-contact-list i {
    color: var(--pink-primary) !important;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4) !important;
}

.footer-bottom a:hover {
    color: var(--pink-primary) !important;
    transform: none;
}

/* Mobile Sidebar Navigation Contrast Fix */
#mobileSidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: var(--transition);
}

#mobileSidebar .nav-link:hover {
    color: var(--pink-primary) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

#mobileSidebar .nav-link.active {
    color: var(--white) !important;
    background-color: var(--pink-primary) !important;
    box-shadow: 0 4px 10px rgba(255, 90, 121, 0.2);
}

