* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== HEADER ===== */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 13%;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    z-index: 1000;
    color: white;
}

.left-header {
    display: flex;
    align-items: center;
}

.icon_logo {
    width: 60px;
    margin-right: 10px;
}

.icon {
    width: 45px;
    margin-right: 14px;
}
.icon_flag{
    width: 60px;
    height: 50%;
    margin-right: 14px;
}

.text-container {
    line-height: 1.2;
}

.left-text1 {
    font-size: 13px;
    letter-spacing: 1px;
}

.left-text2 {
    font-size: 18px;
    font-weight: 700;
}

.right-nav1 a {
    color: white;
    text-decoration: none;
    border: 2px solid white;
    padding: 8px 22px;
    border-radius: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.right-nav1 a:hover {
    transform: scale(1.1);
    background: #1c60c6;
    border-color: #f1f5f9;
    color: #f1f5f9;
    box-shadow: 0 8px 20px rgba(105, 104, 104, 0.3);
}


/* ===== HERO ===== */
.hero {
    height: 100vh;
    background: url("Images/Pulisbg.png") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

/* ===== FORGOT BOX ===== */
.forgot-box {
    position: relative;
    width: 420px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    padding: 40px;
    padding-top: 90px;
    border-radius: 20px;
    color: white;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
    animation: fadeIn 1s ease;
    z-index: 2;
}

@keyframes fadeIn {
    from {opacity:0; transform: translateY(20px);}
    to {opacity:1; transform: translateY(0);}
}

.forgot-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.forgot-box p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 25px;
}

/* ===== FLOATING LOGO ===== */
.floating-logo {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 5px solid #1b2430;
}

.floating-logo img {
    width: 70px;
}

/* ===== INPUT ===== */
.input-group {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
}

.input-group img {
    width: 22px;
    margin-right: 10px;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
}

/* ===== BUTTON ===== */
button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(to right, #2979ff, #00c6ff);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: scale(1.05);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-msg {
    font-size: 12px;
    color: red;
    display: block;
    margin-top: 4px;
    text-align: left;
    padding-left: 45px; /* aligns with input text */
}


/* ===== PROGRESS ===== */
.progress {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.step {
    width: 18%;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

.step.active {
    background: #00c6ff;
}

/* ================= MODAL ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

.modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 18px;
    text-align: center;
    width: 340px;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    color: white;
    animation: popup 0.4s ease;
}

@keyframes popup {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

    .modal-icon {
        width: 80px;
        margin-bottom: 15px;
    }

    .modal-content h2 {
        margin-bottom: 10px;
    }

    .modal-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .modal-content button {
        background: #2f80ed;
        border: none;
        padding: 12px 25px;
        border-radius: 10px;
        color: white;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
    }

    .modal-content button:hover {
        transform: scale(1.05);
        background: #1c60c6;
    }
