/* ✅ HEADER */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
}

.logo img {
    height: 50px;
    width: auto;
}

/* ✅ LANGUAGE SWITCHER */
.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-options {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    border: 1px solid gray;
}

.lang-options li {
    padding: 5px 10px;
}

.lang-options li:hover {
    background-color: #f0f0f0;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* ✅ PAGE BACKGROUND */
body {
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ✅ MAIN LAYOUT */
.main-area {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
}

.panel {
    padding: 30px;
    border-radius: 10px;
    min-height: 550px;
}

/* ✅ FORM PANEL */
.form-panel {
    flex: 2;
    max-width: 550px;
    background-color: #EAEAEA;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ✅ SIDEBAR PANEL */
.newsletter-panel {
    position: relative;
    flex: 1;
    max-width: 350px;
    border-radius: 15px;
    padding: 40px 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: white;
}

/* ✅ Cogeco-style gradient */
.newsletter-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        #FF7474 0%,
        #A25CA8 40%,
        #002D72 100%
    );
    z-index: -1;
}

/* ✅ PROFILE ICON */
.profile-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* ✅ FORM STYLING */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: 600;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    background-color: #EAEAEA;
    border-radius: 5px;
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* ✅ Remember Me Checkbox container */
.remember-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: 5px;
}
/* ✅ Custom Checkbox – square, softer, smaller */
.remember-box input[type="checkbox"] {
    appearance: none;
    width: 10px;                 /* smaller & neat */
    height: 6px;
    border: 2px solid #888;      /* neutral border */
    border-radius: 10px;          /* soft edge / not too round */
    position: relative;
    cursor: pointer;
    background-color: white;
    transition: all 0.2s ease;
}

/* ✅ When checked — background turns blue & checkmark is white */
.remember-box input[type="checkbox"]:checked {
    background-color: #054283;   /* <-- you can change this color later */
    border-color: #054283;
}

/* ✅ White ✓ tick inside when checked */
.remember-box input[type="checkbox"]:checked::before {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    font-size: 12px;
    color: white;               /* white checkmark */
    font-weight: bold;
}
/* ✅ Forgot email link spacing */
.form-link {
    font-size: 14px;
    color: #054283;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
}

.form-link:hover {
    text-decoration: underline;
}

/* ✅ BUTTON */
button[type="submit"] {
    background-color: #054283;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    width: 400px;
    align-self: center;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 25px;
}

button[type="submit"]:hover {
    background-color: #04376b;
}
/* ✅ FORM HEADER (H1) */
form h1 {
    color: #28245f;        /* Change this to any color you like */
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}
/* ✅ RESPONSIVE FULL FIX */
@media (max-width: 768px) {
    .main-area {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .form-panel,
    .newsletter-panel {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        min-height: auto;
    }

    button[type="submit"] {
        width: 100%;
        max-width: 300px;
        margin-top: 20px;
    }

    input {
        width: 100%;
    }

    .profile-icon {
        width: 70px;
        height: 70px;
    }
}
/* ✅ This ONLY affects labels inside the form (Email, Name) */
form label {
    font-weight: 600;
    color: #0563c1;  /* Soft blue like input focus */
}

/* ✅ Keep Remember Me text the same (grey) */
.remember-box label,
.remember-box {
    color: #666;      /* Keep original grey */
    font-weight: normal;
}
