@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary-color: #c31432;
    --secondary-color: #240b36;
    --gradient-bg: linear-gradient(135deg, #c31432, #240b36);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f7f6;
    color: #333;
}

/* Background for Login/Register Pages */
.auth-bg {
    background: var(--gradient-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modern Card Design (Glassmorphismish) */
.modern-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

/* Gradient Buttons */
.btn-gradient {
    background: var(--gradient-bg);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 20, 50, 0.4);
    color: white;
}

/* Form Inputs */
.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

/* Dashboard Sidebar/Navbar */
.navbar-custom {
    background: var(--secondary-color); /* Dark Purple */
}

/* Table Design */
.table-modern {
    border-collapse: separate; 
    border-spacing: 0 10px;
}

.table-modern thead th {
    border: none;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding-bottom: 10px;
}

.table-modern tbody tr {
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.02);
    transition: transform 0.2s;
}

.table-modern tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table-modern td {
    padding: 20px;
    border: none;
    vertical-align: middle;
}

.table-modern td:first-child { border-radius: 15px 0 0 15px; }
.table-modern td:last-child { border-radius: 0 15px 15px 0; }

/* Status Badges */
.badge-soft-success { background-color: #d1e7dd; color: #0f5132; padding: 8px 12px; border-radius: 30px; }
.badge-soft-warning { background-color: #fff3cd; color: #664d03; padding: 8px 12px; border-radius: 30px; }
.badge-soft-danger { background-color: #f8d7da; color: #842029; padding: 8px 12px; border-radius: 30px; }