/* =========================
   GLOBAL RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f0f2f5;
    color: #222;
    padding-bottom: 80px;
}

/* =========================
   HEADER
========================= */
.header {
    background: #1abc9c;
    color: #fff;
    padding: 20px;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
}

.header p {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* =========================
   AUTH & PROFILE CARDS
========================= */
.auth-card {
    background: #fff;
    margin: 20px auto;
    width: 100%;
    max-width: 400px;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    animation: fadeUp 0.4s ease;
}

.auth-card h3 {
    color: #1abc9c;
    margin-bottom: 15px;
}

.auth-group {
    margin-bottom: 16px;
}

.auth-group label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.auth-group input {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.auth-group input:focus {
    outline: none;
    border-color: #1abc9c;
    box-shadow: 0 0 0 2px rgba(26,188,156,0.15);
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: #1abc9c;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.auth-btn:hover {
    background: #16a085;
}

.auth-message {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.auth-message.error { color: #e74c3c; }
.auth-message.success { color: #2ecc71; }

.password-group { position: relative; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

/* =========================
   MENU & FOOTER
========================= */
.menu {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

.menu a {
    flex: 1;
    padding: 14px;
    text-align: center;
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

.menu a.active {
    color: #1abc9c;
    border-bottom: 3px solid #1abc9c;
}

.app-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #ddd;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
}

.app-footer a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-footer a i {
    font-size: 22px;
}

.app-footer a span {
    font-size: 11px;
    margin-top: 3px;
}

.app-footer a.active {
    color: #1abc9c;
}

/* =========================
   CONTENT & SLOTS
========================= */
.content {
    padding: 20px 16px;
}

.content h2 {
    text-align: center;
    color: #1abc9c;
    margin-bottom: 20px;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.slot-card {
    flex: 1 1 180px;
    max-width: 220px;
    padding: 20px;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.slot-free { background: #2ecc71; }  /* Available */
.slot-filled { background: #e74c3c; } /* Booked */
.slot-current {
    border: 3px solid #f1c40f; /* Highlight next available */
    box-shadow: 0 10px 20px rgba(241,196,15,0.4);
}

.slot-time { font-size: 16px; margin-bottom: 8px; }
.slot-price { font-size: 14px; margin-bottom: 12px; }

.book-btn, .cancel-btn {
    background: #ff6a88;
    padding: 10px 0;
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
}

.cancel-btn { background: #e74c3c; }

.book-btn:hover, .cancel-btn:hover {
    transform: translateY(-2px);
}

p.no-bookings {
    text-align: center;
    color: #777;
    margin-top: 20px;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 480px) {
    .slot-card { flex: 1 1 100%; max-width: 100%; }
    .auth-card { width: 90%; }
    .menu a { font-size: 12px; padding: 12px; }
}
