:root {
    --primary-blue: #003366;      /* Classic banking navy */
    --accent-gold: #c5a059;       /* Subtle luxury accent */
    --bg-light: #f4f7fa;          /* Soft grey background */
    --text-main: #333333;
    --white: #ffffff;
    --error-red: #d9534f;
    --success-green: #28a745;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 500px; /* Kept narrow for that mobile-app feel even on desktop */
    margin: 0 auto;
    padding: 20px;
}

/* Navbar */
.navbar {
    background: var(--primary-blue);
    padding: 15px 0;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span {
    color: var(--accent-gold);
}

/* Cards */
.auth-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}

h2 {
    margin-top: 0;
    color: var(--primary-blue);
    font-weight: 700;
}

.subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: #002244;
}

/* Alerts */
.alert {
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.alert-danger {
    background: #fdf2f2;
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.summary-card {
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
    color: white;
}

.summary-card .total-amount {
    color: white;
    font-size: 2.5rem;
    margin: 10px 0;
}

.summary-card .subtitle {
    color: rgba(255,255,255,0.8);
}

.history-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-left: 4px solid var(--accent-gold);
}

.styled-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: white;
}

.btn-settings {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
}
.session-card {
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-blue);
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.date-badge {
    color: var(--primary-blue);
}

.pay-tag {
    background: #eef2f7;
    padding: 4px 8px;
    border-radius: 4px;
}

.call-in-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.btn-add-mini {
    background: none;
    border: 1px dashed var(--primary-blue);
    color: var(--primary-blue);
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}
/* Navigation Items */
.nav-item {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    margin-left: 15px;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-item:hover {
    opacity: 1;
}

.admin-link {
    color: var(--accent-gold) !important;
    font-weight: 700;
}

/* Logout Button Styling */
.btn-logout {
    margin-left: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffaaaa; /* Soft red for security/exit */
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 74, 74, 0.3);
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background-color: rgba(255, 74, 74, 0.1);
    border-color: #ff4a4a;
    color: #ff4a4a;
}

/* Mobile Tweak: Ensure the navbar doesn't get too crowded */
@media (max-width: 400px) {
    .nav-item { margin-left: 8px; font-size: 0.75rem; }
    .btn-logout { margin-left: 8px; padding: 4px 8px; }
}