@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Outfit:wght@100..900&display=swap');

:root {
    --forest: #0B3D24;
    --forest-deep: #041d12;
    --leaf: #4CAF50;
    --leaf-dark: #247c38;
    --cream: #F7F6F1;
    --text: #153522;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Outfit", Arial, sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(76, 175, 80, 0.18), transparent 32%),
        radial-gradient(circle at 84% 8%, rgba(11, 61, 36, 0.14), transparent 28%),
        linear-gradient(135deg, #eef6ed 0%, var(--cream) 48%, #e8f3e6 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: var(--leaf-dark);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
    color: snow;
    opacity: 0.86;
}

.botanical-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    position: relative;
    isolation: isolate;
}

.botanical-page::before,
.botanical-page::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.26;
    z-index: -1;
}

.botanical-page::before {
    width: 360px;
    height: 360px;
    left: -110px;
    bottom: -120px;
    background: rgba(76, 175, 80, 0.42);
}

.botanical-page::after {
    width: 300px;
    height: 300px;
    right: -90px;
    top: -95px;
    background: rgba(11, 61, 36, 0.22);
}

.botanical-shell {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(430px, 0.92fr);
    border-radius: 34px;
    overflow: visible;
    position: relative;
    filter: drop-shadow(0 36px 70px rgba(8, 42, 24, 0.28));
}

.botanical-shell.auth-wide-shell {
    width: min(1280px, 100%);
    grid-template-columns: minmax(340px, 0.82fr) minmax(620px, 1.18fr);
}

.botanical-hero {
    padding: 58px 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 34px 0 0 34px;
    background:
        linear-gradient(145deg, rgba(4, 29, 18, 0.88), rgba(7, 54, 31, 0.58)),
        url("../images/bgwelcomee.webp") center/cover no-repeat;
}

.botanical-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.18), transparent 24%),
        radial-gradient(circle at 68% 30%, rgba(30, 120, 58, 0.34), transparent 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08));
    z-index: 0;
}

.botanical-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 40% 16%, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px),
        radial-gradient(ellipse at 72% 72%, rgba(255, 255, 255, 0.16) 0 1px, transparent 2px);
    background-size: 68px 68px, 104px 104px;
    opacity: 0.45;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
}

.brand-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    padding: 4px;
}

.brand-logo span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    margin: 76px 0 22px;
    max-width: 430px;
    font-size: clamp(20px, 1vw, 62px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.hero-copy {
    max-width: 360px;
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

.floating-leaf {
    position: absolute;
    width: 42px;
    height: 22px;
    border-radius: 100% 0 100% 0;
    background: linear-gradient(135deg, rgba(163, 220, 110, 0.88), rgba(28, 122, 54, 0.72));
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
    opacity: 0.74;
    z-index: 1;
    animation: floatLeaf 8s ease-in-out infinite;
}

.leaf-one {
    right: 68px;
    top: 86px;
    transform: rotate(-18deg);
}

.leaf-two {
    left: 68px;
    bottom: 122px;
    width: 34px;
    height: 18px;
    animation-delay: -2.5s;
    transform: rotate(30deg);
}

.leaf-three {
    right: 120px;
    bottom: 230px;
    width: 28px;
    height: 15px;
    animation-delay: -5s;
    transform: rotate(12deg);
}

@keyframes floatLeaf {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -18px;
    }
}

.login-panel {
    margin-left: -86px;
    padding: 40px 50px 30px 25px;
    position: relative;
    overflow: hidden;
    border-radius: 23px 16px 34px 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: -24px 0 56px rgba(5, 39, 22, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.74);
    display: flex;
    align-items: center;
}

.auth-wide-shell .login-panel {
    padding: 34px 44px 32px 26px;
}

.login-panel::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 250px;
    right: -115px;
    top: -100px;
    border-radius: 45% 55% 60% 40%;
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.14), rgba(11, 61, 36, 0.06));
}

.login-card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.login-card.auth-wide {
    max-width: 760px;
}

.login-title {
    margin: 0;
    text-align: center;
    color: #20722f;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
}

.login-subtitle {
    margin: 2px 0 18px;
    text-align: center;
    color: #8a978c;
    font-size: 14px;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.field-group {
    margin-bottom: 16px;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-label {
    display: block;
    margin: 0 0 8px;
    color: #254c31;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.required-star,
.color-red {
    color: #d33838;
}

.input-shell {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid rgba(21, 53, 34, 0.08);
    border-radius: 18px;
    background: #e3f0df;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 14px 28px rgba(15, 72, 34, 0.08);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.input-shell:focus-within {
    border-color: rgba(76, 175, 80, 0.62);
    box-shadow: 0 0 0 5px rgba(76, 175, 80, 0.14), 0 18px 34px rgba(15, 72, 34, 0.12);
    transform: translateY(-1px);
}

.input-shell i {
    width: 18px;
    color: #267a38;
    text-align: center;
}

.input-shell > div,
.input-shell > span {
    flex: 1;
}

.input-shell .form-control,
.input-shell select {
    width: 100%;
    height: 47px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #21402b !important;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0;
}

.input-shell .form-control::placeholder {
    color: #6b876f;
    font-weight: 500;
}

.login-submit,
.auth-link-btn {
    width: 100%;
    min-height: 45px;
    border: 0;
    border-radius: 12px;
    color: #fff !important;
    cursor: pointer;
    font-family: "Outfit", Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #4CAF50 0%, #2d8c43 45%, #0B3D24 100%);
    box-shadow: 0 20px 36px rgba(32, 114, 47, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.auth-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: linear-gradient(135deg, #4CAF50 0%, #2d8c43 45%, #0B3D24 100%);
    border: 0;
    box-shadow: 0 20px 36px rgba(32, 114, 47, 0.22);
}

.login-submit:hover,
.auth-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 42px rgba(32, 114, 47, 0.34);
}

.action-grid {
    display: grid;
    grid-template-columns: 0.3fr 0.3fr;
    gap: 12px;
    align-items: center;
    place-content: center;
}
a:hover{
    color:#333!important;
}

.signup-copy,
.terms-copy {
    margin: 18px 0 0;
    text-align: center;
    color: #9aa49a;
    font-size: 12px;
}

.terms-copy {
    margin: 0 0 16px;
    text-align: left;
}

.signup-copy a,
.terms-copy a {
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sponsor-name {
    display: block;
    margin-top: 7px;
    color: #20722f;
    font-size: 12px;
    font-weight: 800;
}

.absolute_validator,
.validator,
.text-red,
span[style*="color:Red"],
span[style*="color: red"] {
    display: block;
    margin-top: 7px;
    color: #d33838 !important;
    font-size: 12px !important;
    font-weight: 600;
}

.hidden {
    display: none !important;
}

.offscreen-field {
    position: absolute;
    left: -2500px;
}

@media (max-width: 980px) {
    .botanical-page {
        padding: 24px;
    }

    .botanical-shell,
    .botanical-shell.auth-wide-shell {
        display: block;
        min-height: auto;
    }

    .botanical-hero {
        min-height: 390px;
        border-radius: 30px 30px 0 0;
    }

    .hero-title {
        margin-top: 44px;
        font-size: 38px;
    }

    .login-panel,
    .auth-wide-shell .login-panel {
        min-height: auto;
        margin-left: 0;
        padding: 42px 24px;
        border-radius: 0 0 30px 30px;
    }
}

@media (max-width: 560px) {
    .botanical-page {
        padding: 12px;
    }

    .hidden-xs {
        display: none;
    }

    .botanical-hero {
        padding: 34px 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .field-grid,
    .action-grid {
        grid-template-columns: 1fr;
    }
}
