﻿/* * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', sans-serif;
        }

        body {
            height: 100vh;
            background: #f2f4f7 !important;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .login-dialog-title {
            margin-top: 20px;
            margin-bottom: 20px;
            font-size: 20px;
            font-weight: 600;
            color: darkgray;
            }*/

#terms-and-conditions-div {
    font-size: 14px;
    color: #03ad98;
}

#terms-and-conditions-cbx {
    width: 20px;
    margin-top: 10px;
}

.login-label {
    padding-left: 10px;
}

.required::after {
    content: " *";
    color: red;
}

.error-msg {
    color: red;
    font-size: 13px;
    margin-top: 2px;
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.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;
}

.login-logo {
    width: 400px;
}
/* Base / tokens */
:root {
    --bg: #eef0f4; /* page background */
    --panel-dark: #2f3337; /* left panel */
    --panel-dark-2: #25282c;
    --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;
}

.auth-card {
    width: 100%;
    max-width: 820px;
    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;
}

.brand-logo {
    display: block;
    max-width: 240px;
    height: auto;
}

.brand-copy {
    font-size: 18px;
    color: #E7ECF3;
}

    .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;
    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: #1485ba;
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    .btn-primary:hover,
    .btn-primary:focus {
        /* background: var(--primary-hover); */
        background-color: #1bb1f8;
    }

.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%;
}

    button:hover {
        background-color: #1bb1f8;
    }
.cancel-height{
    height:auto !important;
}
/* 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;
        }

        /* sign up page*/
.into-description {
    font-size: 15px;
    color: #34495e;
    margin-bottom: 8px;
}

.sub-description {
    font-size: 14px;
    color: #6c7a89;
    margin-bottom: 30px;
}