/* public/assets/css/admin.css */
body.login-body {
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin:0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.login-logo span {
    font-size: 3rem;
}
.login-logo h2 {
    margin: 10px 0 5px;
    color: var(--primary-blue);
}
.login-logo p {
    color: #999;
    margin-bottom: 25px;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.alert.error {
    background: #fde8e8;
    color: #c0392b;
}
.alert.success {
    background: #e8f8f5;
    color: #27ae60;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: 0.2s;
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-blue);
    outline: none;
}

/* Admin Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #2C3E50;
    color: white;
    padding: 25px 0;
    flex-shrink: 0;
}
.sidebar-brand {
    font-size: 1.3rem;
    padding: 0 20px 20px;
    border-bottom: 1px solid #3d566e;
    font-weight: 700;
}
.sidebar-nav {
    margin-top: 20px;
}
.sidebar-nav a {
    display: block;
    padding: 12px 20px;
    color: #b0c4de;
    text-decoration: none;
    transition: 0.2s;
    border-left: 4px solid transparent;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: #1a2a3a;
    color: white;
    border-left-color: var(--accent-teal);
}
.sidebar-nav a i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.admin-main {
    flex: 1;
    padding: 30px 40px;
    background: #f8f9fa;
}
.admin-header {
    margin-bottom: 30px;
}
.admin-header h1 {
    font-size: 2rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.stat-card i {
    font-size: 2rem;
    color: var(--primary-blue);
}
.stat-card h3 {
    font-size: 1.8rem;
    margin:0;
}
.stat-card p {
    margin:0;
    color: #777;
    font-size: 0.9rem;
}

.chart-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.chart-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.chart-box.full {
    grid-column: 1 / -1;
}
.chart-box h3 {
    text-align: center;
    margin-bottom: 15px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.admin-table th {
    background: #2C3E50;
    color: white;
    padding: 12px;
    text-align: left;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}
.admin-table tr:hover td {
    background: #f8f9fa;
}

.row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.row .col {
    flex: 1;
    min-width: 250px;
}

.upload-form {
    max-width: 500px;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.stat-box p {
    font-size: 1.1rem;
    margin: 10px 0;
}