
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
    --primary-color: #F83033;
    --primary-dark: #25272A;
    --primary-light: #F83033;
    --accent-color: #F83033;
    --sidebar-width: 250px;
}

body {
    background-color: #f8fafc;
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

h1.page-title {
    font-size: 26px;
    font-weight: 600;
}

.form-text {
    font-size: 12px;
}

/* Navbar */
.navbar {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* Main Content */
.main-container {
    display: flex;
    min-height: calc(100vh - 56px);
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 0;
    transition: all 0.3s;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}


.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.55rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: #f1f5f9;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 2rem;
    background-color: #f8fafc;
    height: calc(100vh - 80px);
    overflow-y: scroll;
}

.welcome-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.welcome-subtitle {
    color: #718096;
    margin-bottom: 1.5rem;
}

/* Stats Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
}

/* Recent Activity */
.activity-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.activity-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #edf2f7;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ebf4ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-time {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 0.25rem;
}

/* Dashboard Specific Styles */
.float-end {
    float: right;
}

/* Quick Actions Section */
.quick-actions .btn {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-actions .btn i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Activity Cards Grid */
.activity-card .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.activity-card .col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.activity-card .col-md-3,
.activity-card .col-md-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Enhanced Activity Items */
.activity-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background-color: #f8fafc;
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ebf4ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.activity-item:hover .activity-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.activity-content {
    flex: 1;
}

.activity-content strong {
    color: #2d3748;
    font-weight: 600;
}

.activity-time {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 0.25rem;
}

/* Stats Cards Enhancement */
.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #2d3748;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Enhancements */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        left: -100%;
        top: 56px;
        bottom: 0;
        z-index: 1000;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .content-area {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .quick-actions .btn {
        height: 50px;
        font-size: 0.8rem;
    }
    
    .quick-actions .btn i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .activity-card .col-md-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .welcome-card {
        padding: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .quick-actions .row {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
    
    .quick-actions .col-md-3 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}


.card {
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-10%, -10%); }
    100% { transform: rotate(30deg) translate(10%, 10%); }
}

.btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
    transition: all 0.3s;
}

.btn-primary:hover::after {
    left: 100%;
}

.form-control {
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(211, 47, 47, 0.15);
    transform: translateY(-1px);
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.form-control:focus + .form-label {
    color: var(--primary-color);
}

.input-group-text {
    background-color: white;
    border-right: none;
}

.input-with-icon {
    border-left: none;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.forgot-password:hover {
    text-decoration: underline;
    color: var(--primary-dark);
    transform: translateX(2px);
}

.logo {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
}

.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label label {
    position: absolute;
    top: 18px;
    left: 15px;
    color: #999;
    pointer-events: none;
    transition: all 0.3s;
    background: white;
    padding: 0 5px;
}

.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.powered-by {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-top: 2rem;
}