/* Vcurd custom template CSS */

/* Login page styling */
body.login-page {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #0d1034 0%, #0f0e22 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
}

.login-container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-container h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    color: #362fc6;
    text-align: center;
}

.login-container label {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: #555;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    background: #362fc6;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease;
}

.login-container button:hover {
    background: #2b25a6;
}

/* Dashboard page styling */
body.dashboard-page {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #042a60;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.sidebar .logo {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.sidebar ul li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
}

.sidebar ul li.active,
.sidebar ul li:hover {
    background: #1a3e7a;
}

/* Main content area */
.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.topbar {
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #e1e5eb;
    margin-bottom: 24px;
    font-size: 14px;
    color: #555;
}

/* Stats cards */
.stats {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: #ffffff;
    flex: 1;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #042a60;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #555;
}

/* Charts section */
.charts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.chart-card.large {
    height: 300px;
}

.chart-row {
    display: flex;
    gap: 20px;
}

.chart-row .chart-card {
    height: 200px;
}