:root {
    --primary-blue: #1848a0;
    --light-bg: #e1ecf7;
    --text-dark: #001f65;
    --gradient-btn: linear-gradient(180deg, #001f65 0%, #6895fd 100%);
    --emergency-red: linear-gradient(180deg, #d9534f 0%, #ff4d4d 100%);
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
}

/* --- HEADER SECTION --- */
.header {
    background-color: var(--primary-blue);
    height: 35vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    color: white;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px; 
    text-align: left;
}

.logo-img {
    width: 200px;
    height: auto;
}

.header-text h1 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1;
}

.header-text p { 
    margin: 5px 0 0; 
    opacity: 0.9; 
    font-size: 0.9rem;
}

.text-tukang { color: white; }
.text-now { color: #bfe5ef; }

/* --- CARD CONTAINER --- */
.card-container {
    display: flex;
    justify-content: center;
    margin-top: -80px; 
    padding: 0 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.card h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* --- INPUT & BUTTON STYLING --- */
input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    outline: none;
    margin-bottom: 15px;
    font-family: inherit;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 30px;
    background: var(--gradient-btn);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 10px;
}

.btn:hover { transform: scale(1.02); }
.btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }

.back-link {
    display: block;
    margin-top: 20px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- MODAL POPUP STYLING (TAMBAHAN BARU) --- */
.modal {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center;
    align-items: center;
    z-index: 9999; 
}

.status-card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    animation: popUp 0.3s ease-out;
}

.status-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-size: 45px;
    font-weight: bold;
}

.status-success-bg {
    background-color: #28a745; 
    color: white; 
}

.status-error-bg {
    background-color: #e63946; 
    color: black; 
}

.status-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.status-card p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

@keyframes popUp {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- RESPONSIVE SETTINGS (PHONE VIEW) --- */
@media screen and (max-width: 480px) {
    .header {
        height: auto;
        padding: 40px 20px 100px; 
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-img {
        width: 160px; 
    }

    .header-text h1 {
        font-size: 1.8rem;
    }

    .card-container {
        margin-top: -70px;
        padding: 0 15px;
    }

    .card {
        padding: 30px 20px;
        border-radius: 25px;
    }

    .card h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 14px;
        font-size: 1rem;
    }
}