* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35);
}

.header {
    text-align: center;
    margin-bottom: 35px;
}

.header h1 {
    color: #7c3aed;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subtitle {
    color: #06b6d4;
    font-size: 14px;
    font-weight: 500;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
}

.input-group input {
    width: 100%;
    padding: 14px 45px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #7c3aed;
}

.forgot-password {
    text-align: right;
    color: #7c3aed;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1d4ed8;
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #9ca3af;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.divider span {
    padding: 0 15px;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #1e1b4b;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.google-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.signup-text {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.signup-text a {
    color: #7c3aed;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-text a:hover {
    color: #1d4ed8;
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
    }

    .header h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 13px;
    }

    .input-group input {
        padding: 12px 40px;
        font-size: 14px;
    }

    .login-btn,
    .google-btn {
        padding: 12px;
        font-size: 15px;
    }
}


/* Parking Slots Grid */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px 0;
    max-width: 700px;
    margin: 0 auto;
}

.slot-card {
    background: #38bdf8;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
}

.slot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.slot-card.available {
    background: #38bdf8;
    color: white;
}

.slot-card.occupied {
    background: #ef4444;
    color: white;
}

.slot-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.slot-number {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: white;
}

.slot-status {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 8px;
    color: white;
}

.slot-details {
    width: 100%;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 15px;
    color: white;
}

.detail-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: white;
}

.detail-row i {
    font-size: 14px;
}

.detail-row strong {
    font-weight: 600;
}

.occupied-time {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 10px 0 0 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 12px;
}

.occupied-time-label {
    display: none;
}

.occupied-time-value {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
}

.occupied-time-value i {
    font-size: 14px;
}

.book-btn {
    display: none;
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .slot-card {
        min-height: 200px;
        padding: 25px 15px;
    }

    .slot-number {
        font-size: 52px;
    }

    .slot-status {
        font-size: 12px;
        padding: 6px 16px;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .slot-card {
        min-height: 180px;
        padding: 20px 12px;
    }

    .slot-number {
        font-size: 48px;
    }

    .slot-status {
        font-size: 11px;
        padding: 5px 14px;
    }

    .detail-row {
        font-size: 11px;
    }

    .occupied-time-value {
        font-size: 14px;
    }
}


/* Occupied Time Highlight */
.occupied-time {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.occupied-time-label {
    font-size: 11px;
    color: #92400e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.occupied-time-value {
    font-size: 18px;
    color: #78350f;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.occupied-time-value i {
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

/* Animated Background Shapes */
.shape {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    animation: float 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(56, 189, 248, 0.4);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(129, 140, 248, 0.4);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(167, 139, 250, 0.3);
    top: 40%;
    left: 40%;
    animation-delay: -2s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}
