/* assets/admin_style.css */

/* ==================== GLOBAL ADMIN STYLES ==================== */
:root {
    --primary-color: #800000; /* Maroon */
    --secondary-color: #D4AF37; /* Gold */
    --background-color: #F8F4F0; /* Off-white */
    --text-color: #333333;
    --light-text-color: #FFFFFF;
    --font-heading: 'Lora', serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
}

.admin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.admin-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.admin-logo {
    margin-bottom: 20px;
}
.admin-logo img {
    height: 80px;
}

.admin-card h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-admin {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-admin:hover {
    background-color: #660000;
}

.admin-card .footer-link {
    margin-top: 20px;
}
.admin-card .footer-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Multi-step form styles */
.multi-step-form .form-step { display: none; }
.multi-step-form .form-step.active { display: block; }

/* OTP Input Styles */
.otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.otp-group input {
    width: 45px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* ==================== ADMIN DASHBOARD STYLES ==================== */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 260px;
    background: #333;
    color: #fff;
    display: flex;
    flex-direction: column;
}
.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #444;
}
.sidebar-header img {
    height: 60px;
    margin-bottom: 10px;
}
.sidebar-nav {
    flex-grow: 1;
}
.sidebar-nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid #444;
    transition: background-color 0.3s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background-color: var(--primary-color);
}
.sidebar-nav a i {
    margin-right: 10px;
}
.sidebar-footer {
    padding: 20px;
}
.sidebar-footer a {
    color: #ccc;
    text-decoration: none;
}

.main-content {
    flex-grow: 1;
    background: var(--background-color);
}
.main-header {
    background: #fff;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-header h1 {
    margin: 0;
    font-size: 1.5rem;
}
.content-area {
    padding: 30px;
}
.dashboard-section {
    display: none;
    animation: fadeIn 0.5s;
}
.dashboard-section.active {
    display: block;
}
.content-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.content-card h2 {
    margin-top: 0;
}
.content-card textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.content-card .checkbox-group label {
    display: block;
    margin-bottom: 10px;
}

.item-list {
    margin-top: 2rem;
}
.list-item {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-item-content h4 {
    margin: 0 0 5px 0;
}
.list-item-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}