/* /assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* The Left Side - Gradient Background */
.login-sidebar {
    /* Matches your screenshot: Red top-left to Purple bottom-right */
    background: rgb(203,32,60);
    background: linear-gradient(145deg, rgba(203,32,60,1) 10%, rgba(70,18,65,1) 90%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* The faint circle in top right of your screenshot */
.login-sidebar::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.login-sidebar h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 15px;
}

.login-sidebar p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 80%;
}

/* The Right Side - Form */
.login-form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.btn-custom {
    /* Primary color matching the gradient theme */
    background-color: #cb203c; 
    border: none;
    color: white;
    padding: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom:hover {
    background-color: #a0152d;
    color: white;
}
/* --- DASHBOARD LAYOUT --- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

/* Sidebar Styling */
#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    color: #333;
    transition: all 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.05);
    min-height: 100vh;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: linear-gradient(145deg, rgba(203, 32, 60, 1) 10%, rgba(70, 18, 65, 1) 90%);
    border-bottom: 1px solid #eee;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 15px 20px;
    font-size: 1rem;
    display: block;
    color: #555;
    text-decoration: none;
    font-weight: 500;
}

#sidebar ul li a:hover {
    color: #cb203c; /* Your Brand Red */
    background: #fff5f6;
    border-left: 4px solid #cb203c;
}

#sidebar ul li.active > a {
    color: #fff;
    background: linear-gradient(145deg, rgba(203,32,60,1) 10%, rgba(70,18,65,1) 90%);
    border-left: none;
}

/* Icons in sidebar */
#sidebar ul li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Content Area */
#content {
    width: 100%;
    background-color: #f4f7fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Stats Cards */
.stat-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-5px);
}
.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.bg-gradient-primary { background: linear-gradient(45deg, #4e73df, #224abe); }
.bg-gradient-success { background: linear-gradient(45deg, #1cc88a, #13855c); }
.bg-gradient-warning { background: linear-gradient(45deg, #f6c23e, #dda20a); }
.bg-gradient-danger { background: linear-gradient(45deg, #e74a3b, #be2617); }

/* Responsive */
@media (max-width: 768px) {
    #sidebar { margin-left: -250px; }
    #sidebar.active { margin-left: 0; }
}