/* static/css/index.css - Index Page Styles */

/* Alert Styles */
.alert-container {
    margin-bottom: 20px;
    width: 100%;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.hidden {
    display: none !important;
}

.modal-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    color: #facc15;
}

.close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero-text {
    color: #f8fafc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    color: #cbd5e1;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.lemon-btn {
    display: block;
    background: #facc15;
    color: #0f172a;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s;
}

.lemon-btn:hover {
    transform: scale(1.02);
}

/* MOBILE ADAPTATION (768px) */
@media (max-width: 768px) {
    .std-input, .clean-input, select, button, .lemon-btn {
        width: 100% !important;
        min-height: 44px !important;
    }

    .modal-card {
        width: 95% !important;
        max-width: 100% !important;
    }
}
