/* FULL PAGE BACKGROUND */
body {
    margin: 0;
    padding: 0;
    background: url("../assets/bg-main.png") no-repeat center center ;
    background-size: cover;     /* full screen */
    height: 100vh;
    font-family: Arial, sans-serif;
}

/* Center everything */
.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;   
    margin-left: 4%;
}

/* --- RIGHT AREA --- */
.right-area {
    width: 420px;
    margin: auto;
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;
    padding-top: 20px;
    background-color: white;
    padding: 2%;
}

/* Logo */
.logo {
    width: 150px;
    margin-bottom: 15px;
}

/* Title */
.title {
    font-size: 32px;
    font-weight: 300;
    color: #333;
    line-height: 1.3;
    margin-bottom: 35px;
}

/* Inputs - EXACT STYLE */
.input {
    width: 100%;
    padding: 13px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 15px;
    box-sizing: border-box;
}

/* Code Row */
.code-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.code-input {
    flex: 1;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 15px;
}

.code-img {
    width: 120px;
    background: #0b5e80;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    border-radius: 3px;
}

/* Terms section */
.terms {
    font-size: 14px;
    color: #444;
    text-align: left;
    margin-top: 8px;
}

.terms input {
    margin-right: 6px;
}

.terms a {
    color: #0a7abf;
}

/* Button EXACT SAME */
.btn {
    width: 100%;
    background: #05b3d6;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 3px;
    font-size: 17px;
    margin-top: 20px;
    cursor: pointer;
}

.forgot {
    display: block;
    margin-top: 10px;
    color: #0a7abf;
    font-size: 15px;
}

/* Social Icons */
.social-icons img {
    width: 38px;
    margin: 0 4px;
}
/* ==========================
   RESPONSIVE FIXES
========================== */

/* Tablets & small laptops */
@media (max-width: 992px) {
    .main-wrapper {
        margin-left: 0;
        padding: 20px;
    }

    .right-area {
        width: 100%;
        max-width: 420px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    body {
        background-position: center top;
        height: auto;
        min-height: 100vh;
    }

    .main-wrapper {
        height: auto;
        min-height: 100vh;
        margin-left: 0;
        padding: 15px;
    }

    .right-area {
        width: 100%;
        padding: 20px 15px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-radius: 6px;
    }

    .logo {
        width: 120px;
    }

    .title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .input,
    .code-input {
        font-size: 14px;
        padding: 11px 12px;
    }

    .btn {
        font-size: 15px;
        padding: 11px 0;
    }

    .forgot {
        font-size: 14px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .title {
        font-size: 19px;
        line-height: 1.25;
    }

    .code-row {
        flex-direction: column;
    }

    .code-img {
        width: 100%;
        height: 45px;
        font-size: 18px;
    }

    .terms {
        font-size: 13px;
    }
}
