/* Index Page Specific Styles */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    padding: 2rem;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 2.8rem;
    color: #1a73e8;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    color: #5f6368;
    margin-bottom: 1.5rem;
}

/* Login Box Styles */
.login-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 320px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-box:hover {
    transform: translateY(-5px);
}

.login-box-header {
    background: #1a73e8;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-box-header:hover {
    background: #1557b0;
}

.login-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.8rem;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}

.login-box-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    background: white;
}

.login-box-content.expanded {
    max-height: 250px;
    padding: 1.5rem;
}

.login-box-content .form-group {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.login-box-content.expanded .form-group {
    opacity: 1;
    transform: translateY(0);
}

.login-box-content .form-group:nth-child(1) {
    transition-delay: 0.1s;
}

.login-box-content .form-group:nth-child(2) {
    transition-delay: 0.2s;
}

.login-box-content input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e4e8eb;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-box-content input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.login-submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: #1a73e8;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.login-box-content.expanded .login-submit-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.login-submit-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.flash-message {
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

.flash-message.success {
    background: #1a73e8;
}

.flash-message.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .login-box {
        width: 85%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .login-box-content {
        padding: 1.2rem;
    }
} 