/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #dbeafe, #f0f9ff);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #111827;
}

/* --- CARD --- */
.signin-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    width: 90%;
    max-width: 360px;
    animation: fadeIn 0.4s ease;
}

.signin-card h2 {
    font-weight: 600;
    margin-bottom: 24px;
    color: #1e3a8a;
}

/* --- INPUTS --- */
.input-group {
    margin-bottom: 18px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}

.input-group input:focus {
    border-color: #3b82f6;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* --- BUTTONS --- */
.primary-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.primary-btn:active {
    transform: scale(0.98);
}

/* --- MODAL --- */
.popup-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    width: 300px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.popup-box button {
    margin-top: 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
}

/* --- EXTRAS --- */
.hidden { display: none; }

.signup-row {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* App buttons */
.signup-btn, .install-btn {
    flex: 1;
    padding: 10px 14px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.signup-btn {
    background: linear-gradient(135deg, #86efac, #22c55e);
    color: #064e3b;
}

.signup-btn:hover {
    box-shadow: 0 5px 10px rgba(34,197,94,0.3);
}

.install-btn {
    background: linear-gradient(135deg, #fcd34d, #fbbf24);
    color: #78350f;
}

.install-btn:hover {
    box-shadow: 0 5px 10px rgba(251,191,36,0.35);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
