﻿/* Base / tokens */
:root {
    --bg: #0fa3d4; /* page background */
    --panel-dark: #ffffff; /* left panel */
    --panel-dark-2: #ffffff;
    --text: #101214;
    --muted: #5f6975;
    --white: #ffffff;
    --primary: #2e6ebd; /* button blue */
    --primary-hover: #245ea1;
    --border: #dde1e7;
    --shadow: 0 10px 30px rgba(16, 18, 20, 0.10);
    --radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

/* Optional decorative wave at the top (to echo the mock-up) */
.top-wave {
    height: 22px;
    background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox=\"0 0 1200 90\" preserveAspectRatio=\"none\">\
<path fill=\"%23ffffff\" d=\"M0,90 C80,15 240,15 320,90 C400,165 560,165 640,90 C720,15 880,15 960,90 C1040,165 1120,165 1200,90 L1200,0 L0,0 Z\"/>\
</svg>') center / 100% 100% no-repeat;
}

/* Layout */
.page {
    min-height: calc(100% - 22px);
    display: grid;
    place-items: center;
    padding: 32px 16px 56px;
    margin: 0;
    font-family: "Quicksand", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

.auth-card {
    width: 100%;
    max-width: 1020px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
}

/* Left brand panel */
.brand-panel {
    background: linear-gradient(180deg, var(--panel-dark) 0%, var(--panel-dark-2) 100%);
    color: var(--white);
    padding: 36px 32px 40px;
    display: grid;
    align-content: start;
    gap: 24px;
}

    /* Link color inside the brand panel */
    .brand-panel a {
        color: #d3d3d3;
        text-decoration: none;
        transition: color 0.25s ease-in-out;
    }

        .brand-panel a:hover,
        .brand-panel a:focus {
            color: #1BB1F8; /* Intillum accent blue */
            text-decoration: underline;
        }

.brand-logo {
    display: block;
    max-width: 240px;
    height: auto;
}

.brand-copy {
    font-size: 18px;
    color: #333333;
}

    .brand-copy p {
        margin: 0 0 12px;
    }

/* Right panel */
.form-panel {
    background: var(--white);
    padding: 32px 28px 28px;
    display: grid;
    align-content: start;
}

.panel-section + .panel-section {
    margin-top: 8px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #0f1720;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 22px 0;
}

/* Form */
.auth-form {
    margin-top: 8px;
}

.field {
    margin-bottom: 14px;
}

.field-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.label {
    font-weight: 600;
    color: #0f1720;
}

.aux-link {
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
}

    .aux-link:hover, .aux-link:focus {
        text-decoration: underline;
    }

.input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    color: var(--text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .input::placeholder {
        color: #9aa5b1;
    }

    .input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(46, 110, 189, .15);
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 6px;
    border: 0;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .02s ease, background-color .15s ease, box-shadow .15s ease;
    user-select: none;
}

    .btn:active {
        transform: translateY(1px);
    }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    .btn-primary:hover,
    .btn-primary:focus {
        background: var(--primary-hover);
    }

.btn.full {
    width: 100%;
}

/* Privacy link */
.policy {
    text-align: center;
    margin-top: 18px;
    font-size: .85rem;
}

    .policy a {
        color: var(--muted);
        text-decoration: none;
    }

        .policy a:hover,
        .policy a:focus {
            text-decoration: underline;
        }


/* ========== As Seen On... ========= */

.as_seen_on img {
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
    max-height: 60px;
}

    .as_seen_on img.grayscale-hover:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

.as_seen_on a {
    display: inline-block;
    text-decoration: none;
}

/* ========== As Seen On... ========= */


/* Responsiveness */
@media (max-width: 860px) {
    .auth-card {
        grid-template-columns: 1fr;
    }

    .brand-panel {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .brand-logo {
        max-width: 220px;
    }
}

@media (max-width: 420px) {
    .page {
        padding: 20px 12px 40px;
    }

    .form-panel {
        padding: 24px 18px;
    }

    .brand-panel {
        padding: 28px 20px;
    }
}






/* Overall page wrapper */
.auth-page {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 16px;
}

/* Main card with left + right panels */
.auth-card {
    display: flex;
    flex-wrap: wrap;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Left panel */
.auth-left {
    flex: 1 1 45%;
    min-width: 300px;
    padding: 32px 32px 40px 32px;
    background: #f7fafc;
    display: flex;
    flex-direction: column;
}

.auth-logo img {
    max-width: 180px;
    height: auto;
}

.auth-left-content {
    margin-top: 32px;
}

.auth-left-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.auth-left-subtitle {
    font-weight: 500;
    margin-bottom: 12px;
}

.auth-left-body {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Primary buttons – align with your brand colour (#0fa3d4) */
.btn-primary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    background-color: #0fa3d4;
    color: #ffffff;
}

    .btn-primary:hover,
    .btn-primary:focus {
        opacity: 0.9;
        background-color: #1bb1f8;
    }

.auth-signup-btn {
    margin-top: 4px;
}

.auth-mission {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px dashed #d3d7dd;
    font-size: 0.95rem;
}

.auth-mission-heading {
    font-weight: 600;
    margin-bottom: 6px;
}

.auth-mission-body a {
    color: #0fa3d4;
    text-decoration: underline;
}

/* Right panel */
.auth-right {
    flex: 1 1 55%;
    min-width: 300px;
    padding: 32px 32px 40px 32px;
    background: #ffffff;
    display: flex;
    align-items: center;
}

.auth-right-inner {
    width: 100%;
}

.auth-right-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.auth-right-intro {
    margin-bottom: 24px;
}

/* Form styling */
.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    border-radius: 999px;
    border: 1px solid #d3d7dd;
    padding: 10px 14px;
    font-size: 0.95rem;
}

.form-inline-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: #0fa3d4;
    cursor: pointer;
    text-decoration: underline;
    white-space: nowrap;
}

    .link-button:hover,
    .link-button:focus {
        text-decoration: none;
    }

.auth-signin-btn {
    width: 100%;
}

.auth-privacy {
    margin-top: 8px;
    font-size: 0.85rem;
    text-align: center;
}

/* FEATURED ON SECTION */
.featured-on {
    margin-top: 40px;
    padding: 32px 24px;
    background: #f7fafc;
    border-radius: 16px;
}

.featured-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.featured-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.featured-subtitle {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Logo grid */
.featured-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: center;
}

.featured-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

    .featured-logo-item img {
        max-width: 100%;
        max-height: 40px;
        object-fit: contain;
    }

.btn.full {
    width: 100%;
}

.login-button.full {
    width: 100%;
}

button {
    background-color: #1485ba;
    border-radius: 8px !important;
    color: white;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
  /*  height:40px;*/
}

    button:hover {
        background-color: #1bb1f8;
    }
.forget-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    padding: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.forget-btns {
    display: flex;
    gap: 20px;
}

.forgot-usr-div {
    float: left;
}

.forgot-pwd-div {
    float: right;
}
.error-msg {
    color: red;
    display: none;
}

.error-msg {
    color: red;
    font-size: 13px;
    margin-top: 2px;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.login-button {
    margin-top: 10px;
    border: none;
    border-radius: 8px;
}
.cancel-height {
    height: auto !important;
}
.divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}
.btn-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 20px;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c8d0d3;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    font-weight: 600;
    color: #555;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 220px;
}
.btn-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 20px;
}
/* Google button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #c8d0d3;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    font-weight: 600;
    color: #555;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 220px;
}

    .btn-google:hover {
        background-color: #e2e6ea;
    }

    .btn-google svg {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

/* Facebook button */
.btn-facebook {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1877f2;
    border-radius: 25px;
    padding: 10px 25px;
    border: none;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgb(24 119 242 / 0.6);
    min-width: 60px;
    transition: background-color 0.3s ease;
}

    .btn-facebook:hover {
        background-color: #145dbf;
    }

    .btn-facebook svg {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }

.divider-with-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0; /* space above & below */
    color: #666; /* text colour */
    font-size: 14px; /* text size */
}

    .divider-with-text::before,
    .divider-with-text::after {
        content: "";
        flex: 1;
        height: 1px; /* line thickness */
        background: #ccc; /* line colour */
    }

    .divider-with-text::before {
        margin-right: 8px; /* gap between text & left line */
    }

    .divider-with-text::after {
        margin-left: 8px; /* gap between text & right line */
    }
.display-message {
    display: none;
}

.sucess-container {
    width: 100%;
    max-width: 500px;
    margin: 100px auto;
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .sucess-container img {
        width: 80px;
        margin-bottom: 20px;
    }
.login-msg-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #1485ba;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.term-btn {
    padding: 10px;
}
#terms-and-conditions-div {
    font-size: 14px;
    color: #03ad98;
}
.illustration-side-right {
    flex: 1;
    /* background-color: #f5f6fa; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.top-text {
    margin-top: 35px;
}

    .top-text p {
        font-size: 14px;
    }

    .top-text a {
        color: #007bff;
        text-decoration: none;
    }

        .top-text a:hover {
            text-decoration: underline;
        }

.logo-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

    .logo-container img {
        max-width: 120px;
        max-height: 120px;
    }

.bottom-text {
    font-size: 13px;
    padding-bottom: 15px;
    color: #333;
}

    .bottom-text a {
        color: #007bff;
        text-decoration: none;
    }
.registration-control{
    width:100%;
}
#terms-and-conditions-cbx {
    width: 20px;
    margin-top: 10px;
}
/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .auth-card {
        flex-direction: column;
    }

    .auth-left,
    .auth-right {
        padding: 24px 20px 28px 20px;
    }

    .featured-logos {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .auth-page {
        margin: 24px auto 40px auto;
    }

    .auth-card {
        border-radius: 14px;
    }

    .auth-left,
    .auth-right {
        padding: 20px 16px 24px 16px;
    }

    .auth-right {
        border-top: 1px solid #e2e8f0;
    }

    .form-inline-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .link-button {
        padding-top: 4px;
    }

    .featured-on {
        padding: 24px 16px;
    }

    .featured-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-group-sign {
        flex-direction: column !important;
    }
}

@media (max-width: 480px) {
    .featured-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .featured-logo-item {
        padding: 8px 8px;
    }

    .auth-left-title,
    .auth-right-title {
        font-size: 1.35rem;
    }
    .form-group-sign{
        flex-direction:column !important;
    }
}
