* {margin:0; padding:0; box-sizing:border-box;}
        body {font-family: Arial, Helvetica, sans-serif; background-color: var(--background-color); color: var(--text-color); min-height: 100vh; min-height: 100dvh;}
        a {text-decoration:none;}
        ul {list-style:none;}

        html {scroll-behavior: smooth;}
                                                                                        /* ==== Header ==== */
        header {background:#fff; box-shadow:0 2px 10px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;}
        .navbar {
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:20px 60px;
        }
        .logo img {height:60px;}

        .nav-links {display:flex; gap:30px;}
        .nav-links a {
            color:#1a2036;
            font-weight:500;
            transition:0.3s;
        }
        .nav-links a:hover {color:#c07d56}

        section {
            scroll-margin-top: 120px;
        }

                                             /* ==== login section ==== */

                                /* ==============GENERAL SETTINGS========== */



:root {
    --primary: #3480e2;
    --primary-dark: #2465bc;
    --navy: #1a2036;
    --text: #252b3b;
    --muted: #7c8495;
    --border: #e1e6ef;
    --background: #f7f9fc;
    --white: #ffffff;
    --error: #dc3545;
}

[hidden] {
    display: none !important;
}

                            /* ===============MAIN LAYOUT=============== */

.register-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 100vh;
}


                                /* ========LEFT VISUAL PANEL======== */

.register-visual {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 8%;
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            rgba(26, 32, 54, 0.96),
            rgba(52, 128, 226, 0.88)
        ), url("fg.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

                                        /* Background decoration */

.login-visual::before {
    content: "";
    position: absolute;

    width: 440px;
    height: 440px;

    right: -180px;
    bottom: -160px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.login-visual::after {
    content: "";
    position: absolute;

    width: 300px;
    height: 300px;

    right: -110px;
    bottom: -90px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

                                                /* Logo */

.register-logo img {
    width: 150px;
    max-width: 100%;
    max-height: auto;
    object-fit: contain;
}

                                        /* Visual content */

.visual-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    margin: auto 0;
    padding: 60px 0;
}

.visual-label {
    display: inline-block;
    margin-bottom: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(250, 248, 248, 0.3);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.visual-content h1 {
    margin-bottom: 24px;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.3;
}

.visual-content p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.9;
}

                                        /* Visual footer */

.visual-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.visual-decoration i {
    font-size: 25px;
}

                                    /* =======RIGHT content======= */

.form-panel {
    min-width: 0;
    padding: 35px 45px;
    background-color: var(--white);
}

.form-wrapper {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* Top login link */
.top-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    margin-bottom: 32px;
    font-size: 13px;
}

.top-link span {
    color: var(--muted);
}
.top-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.top-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Heading */
.form-heading {
    margin-bottom: 26px;
}

.heading-label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.form-heading h2 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 29px;
    line-height: 1.3;
}

.form-heading p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

                        /* ================FORM FIELDS============= */

.form-group {
    min-width: 0;
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.required {
    color: var(--error);
}

/* Input wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper > i {
    position: absolute;
    left: 14px;
    color: #9ba4b5;
    font-size: 14px;
    pointer-events: none;
}

/* Input and select */
.input-wrapper input,
.input-wrapper select {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 40px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background-color: var(--white);
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #a5adbb;
}

.input-wrapper select {
    appearance: none;
    cursor: pointer;
}

.input-wrapper:has(select)::after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 13px;
    color: #9ba4b5;
    pointer-events: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 128, 226, 0.10);
}

.input-wrapper input[aria-invalid="true"],
.input-wrapper select[aria-invalid="true"] {
    border-color: var(--error);
}

/* Date input */
.input-wrapper input[type="date"] {
    cursor: pointer;
}

/* Password visibility button */
.toggle-password {
    position: absolute;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 30px;
    border: none;
    background: transparent;
    color: #9ba4b5;
    cursor: pointer;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Helper text */
.field-hint {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}

/* =====================================
   6. VALIDATION MESSAGES
===================================== */

.error-message {
    display: block;
    margin-top: 5px;
    color: var(--error);
    font-size: 11px;
    line-height: 1.6;
}

.error-message:empty {
    display: none;
}

.terms-error {
    margin-top: 8px;
}

/* =====================================
   7. TERMS AND CONDITIONS
===================================== */

.terms-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
}

.terms-group input {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: var(--primary);
    cursor: pointer;
}

.terms-group label {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.terms-group a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.terms-group a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* =====================================
   8. STATUS MESSAGE
===================================== */

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.7;
}

.form-message.success {
    display: block;
    color: #146c43;
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
}

.form-message.error {
    display: block;
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}

/* =====================================
   9. REGISTER BUTTON
===================================== */

.register-button {
    display: inline-block;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    border: none;
    border-radius: 9px;
    background: var(--primary);
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:all 0.3s ease;
    box-shadow: none;
}

.register-button:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
}

.register-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* =====================================
   10. BOTTOM TEXT
===================================== */

.form-bottom {
    margin-top: 28px;
    padding-top: 18px;
    padding-bottom: 15px;
    border-top: 1px solid #edf0f5;
    text-align: center;
}

.form-bottom p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

/* =====================================
   11. TABLET
===================================== */

@media (max-width: 1100px) {

    .register-page {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    }

    .visual-content {
        padding: 35px 28px;
    }

    .form-panel {
        padding: 30px 28px;
    }

    .visual-content h1 {
        font-size: 34px;
    }

}


/* =====================================
   12. MOBILE
===================================== */

@media (max-width: 850px) {

    .register-page {
        grid-template-columns: minmax(0, 1fr);
    }

    .register-visual {
        position: relative;

        height: auto;
        min-height: 290px;
    }

    .visual-content {
        min-height: 290px;

        padding: 25px 30px;
    }

    .visual-content {
        margin-top: 35px;
        margin-bottom: 25px;
    }

    .visual-content h1 {
        font-size: 30px;
    }

    .visual-content p {
        font-size: 13px;
    }

    .visual-footer {
        display: none;
    }

    .form-panel {
        padding: 35px 25px;
    }

    .form-wrapper {
        max-width: 500px;
    }

}


/* =====================================
   13. SMALL MOBILE
===================================== */

@media (max-width: 480px) {

    .register-visual {
        min-height: 240px;
    }

    .visual-content {
        min-height: 240px;

        padding: 22px;
    }

    .register-logo img {
        max-width: 120px;
        max-height: 50px;
    }

    .visual-content {
        margin-top: 28px;
        margin-bottom: 15px;
    }

    .visual-content h1 {
        font-size: 25px;
    }

    .visual-content p {
        font-size: 12px;
        line-height: 1.7;
    }

    .visual-label {
        margin-bottom: 12px;

        font-size: 10px;
        letter-spacing: 2px;
    }

    .form-panel {
        padding: 25px 18px;
    }

    .form-heading h2 {
        font-size: 25px;
    }

    .input-wrapper input,
    .input-wrapper select {
        height: 45px;
    }

}

                                             /* ==== Footer ==== */
footer{
background:#1a2036;
color: #fff;
padding:60px 20px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.footer-col h3{
margin-bottom:20px;
}

.footer-col p{
line-height:1.6;
color:#ccc;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li a{
color:#ccc;
transition:0.3s;
}

.footer-col ul li a:hover{
color:#f06f24;
}

.social-icons{
display:flex;
gap:15px;
margin-top:10px;
}

.social-icons a{
width:40px;
height:40px;
display:flex;
align-items:center;
justify-content:center;
background:#2b3155;
color:#fff;
border-radius:50%;
font-size:18px;
transition:0.3s;
}

.social-icons a:hover{
background:#f06f24;
transform:translateY(-3px);
box-shadow: 0 10px 10px rgba(0,0,0,0.3);
}

.footer-bottom{
text-align:center;
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(48, 48, 48, 0.38);
color:#aaa;
}