/* ===================================================
   🌟 ULTRA-UNIQUE AUTH PAGES
   COMPLETELY DIFFERENT: Centered Cards, Floating Elements
   Colors: Coral + Lime + Turquoise
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700;900&family=Outfit:wght@600;700;800&display=swap');

:root {
    /* Match landing colors */
    --coral-700: #E85A4F;
    --coral-500: #FF6B6B;
    --coral-300: #FF9999;

    --lime-700: #36A396;
    --lime-500: #4ECDC4;
    --lime-300: #7EE0D9;

    --turquoise-500: #45B7D1;
    --salmon-500: #FF8C94;
    --tangerine-500: #FFB347;

    --cream-50: #FBF8F3;
    --brown-900: #3D2618;
    --brown-700: #6B4528;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    background: var(--cream-50);
    position: relative;
    overflow-x: hidden;
}

/* =================================================
   FLOATING CIRCLES BACKGROUND
   ================================================= */
.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
    filter: blur(0px);
}

/* LARGE Circles */
.circle-1 {
    width: 280px;
    height: 280px;
    background: var(--coral-500);
    top: 8%;
    left: 8%;
    animation-delay: 0s;
}

.circle-2 {
    width: 240px;
    height: 240px;
    background: var(--lime-500);
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

/* MEDIUM Circles */
.circle-3 {
    width: 200px;
    height: 200px;
    background: var(--turquoise-500);
    top: 45%;
    left: 5%;
    animation-delay: 6s;
}

.circle-4 {
    width: 220px;
    height: 220px;
    background: var(--salmon-500);
    top: 25%;
    right: 8%;
    animation-delay: 9s;
}

/* SMALL Circles */
.circle-5 {
    width: 150px;
    height: 150px;
    background: var(--tangerine-500);
    top: 15%;
    right: 25%;
    animation-delay: 4s;
    opacity: 0.6;
}

.circle-6 {
    width: 140px;
    height: 140px;
    background: #B39DDB;
    /* Lavender */
    bottom: 20%;
    left: 20%;
    animation-delay: 7s;
    opacity: 0.55;
}

.circle-7 {
    width: 160px;
    height: 160px;
    background: #FF9999;
    /* Light Coral */
    top: 60%;
    right: 15%;
    animation-delay: 10s;
    opacity: 0.5;
}

.circle-8 {
    width: 130px;
    height: 130px;
    background: #7EE0D9;
    /* Light Lime */
    bottom: 35%;
    left: 35%;
    animation-delay: 12s;
    opacity: 0.6;
}

/* MINI Circles */
.circle-9 {
    width: 100px;
    height: 100px;
    background: #FFB347;
    /* Tangerine */
    top: 70%;
    left: 15%;
    animation-delay: 5s;
    opacity: 0.65;
}

.circle-10 {
    width: 90px;
    height: 90px;
    background: #45B7D1;
    /* Turquoise */
    top: 35%;
    left: 30%;
    animation-delay: 8s;
    opacity: 0.7;
}

.circle-11 {
    width: 110px;
    height: 110px;
    background: #FF8C94;
    /* Salmon */
    bottom: 15%;
    right: 30%;
    animation-delay: 11s;
    opacity: 0.6;
}

.circle-12 {
    width: 80px;
    height: 80px;
    background: #C8BBE8;
    /* Light Lavender */
    top: 50%;
    right: 35%;
    animation-delay: 13s;
    opacity: 0.7;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(40px, -50px);
    }

    50% {
        transform: translate(-30px, 40px);
    }

    75% {
        transform: translate(50px, 30px);
    }
}

/* Additional animation for more movement */
@keyframes floatAlt {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-50px, 50px) scale(1.1);
    }

    66% {
        transform: translate(60px, -40px) scale(0.95);
    }
}

@keyframes floatEdge {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, 60px) rotate(90deg);
    }

    50% {
        transform: translate(-40px, -50px) rotate(180deg);
    }

    75% {
        transform: translate(50px, -30px) rotate(270deg);
    }
}

/* EDGE CIRCLES - Positioned on all edges */
.circle-13 {
    width: 120px;
    height: 120px;
    background: #36A396;
    /* Deep Lime */
    top: 0%;
    left: 25%;
    animation: floatEdge 18s ease-in-out infinite;
    animation-delay: 2s;
    opacity: 0.6;
}

.circle-14 {
    width: 95px;
    height: 95px;
    background: #E85A4F;
    /* Deep Coral */
    top: 0%;
    right: 15%;
    animation: floatAlt 22s ease-in-out infinite;
    animation-delay: 4s;
    opacity: 0.65;
}

.circle-15 {
    width: 110px;
    height: 110px;
    background: #2A9DB4;
    /* Deep Turquoise */
    bottom: 0%;
    left: 40%;
    animation: floatEdge 20s ease-in-out infinite;
    animation-delay: 6s;
    opacity: 0.6;
}

.circle-16 {
    width: 85px;
    height: 85px;
    background: #E66876;
    /* Deep Salmon */
    bottom: 0%;
    right: 35%;
    animation: floatAlt 19s ease-in-out infinite;
    animation-delay: 3s;
    opacity: 0.7;
}

.circle-17 {
    width: 130px;
    height: 130px;
    background: #EDA03A;
    /* Deep Tangerine */
    top: 20%;
    left: 0%;
    animation: floatEdge 21s ease-in-out infinite;
    animation-delay: 5s;
    opacity: 0.55;
}

.circle-18 {
    width: 105px;
    height: 105px;
    background: #9574CD;
    /* Deep Lavender */
    top: 55%;
    left: 0%;
    animation: floatAlt 23s ease-in-out infinite;
    animation-delay: 7s;
    opacity: 0.6;
}

.circle-19 {
    width: 115px;
    height: 115px;
    background: #FFC876;
    /* Light Tangerine */
    top: 12%;
    right: 0%;
    animation: floatEdge 24s ease-in-out infinite;
    animation-delay: 1s;
    opacity: 0.65;
}

.circle-20 {
    width: 100px;
    height: 100px;
    background: #6DCDE4;
    /* Light Turquoise */
    bottom: 25%;
    right: 0%;
    animation: floatAlt 20s ease-in-out infinite;
    animation-delay: 9s;
    opacity: 0.6;
}

/* =================================================
   CENTERED AUTH CONTAINER
   ================================================= */
.auth-container-centered {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* =================================================
   UNIQUE CARD DESIGN - LAYERED EFFECT
   ================================================= */
.auth-card-unique {
    width: 100%;
    max-width: 500px;
    position: relative;
}

/* Main card */
.auth-card-main {
    background: white;
    border-radius: 40px;
    padding: 60px 50px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    border: 4px solid white;
}

/* Layered cards behind */
.auth-card-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    z-index: 1;
}

.layer-1 {
    background: linear-gradient(135deg, var(--coral-300), var(--lime-300));
    top: -10px;
    left: -10px;
    opacity: 0.3;
}

.layer-2 {
    background: linear-gradient(135deg, var(--lime-300), var(--turquoise-500));
    top: -20px;
    left: -20px;
    opacity: 0.2;
}

/* =================================================
   LOGO & HEADER
   ================================================= */
.auth-logo-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo-circle {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--coral-500), var(--lime-500));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 45px;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
    transform: rotate(-5deg);
    transition: all 0.3s ease;
}

.auth-logo-circle:hover {
    transform: rotate(5deg) scale(1.1);
}

.auth-title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--brown-900);
    margin-bottom: 10px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--brown-700);
}

/* =================================================
   FORM INPUTS - PILL STYLE
   ================================================= */
.form-group-unique {
    margin-bottom: 24px;
}

.form-label-unique {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brown-900);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper-unique {
    position: relative;
}

.form-input-unique {
    width: 100%;
    padding: 18px 24px;
    padding-left: 55px;
    border: 3px solid var(--cream-50);
    background: var(--cream-50);
    border-radius: 50px;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    color: var(--brown-900);
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-input-unique:focus {
    outline: none;
    border-color: var(--coral-500);
    background: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.input-icon-unique {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brown-700);
    font-size: 20px;
}

.password-toggle-unique {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--brown-700);
    cursor: pointer;
    font-size: 20px;
    transition: color 0.3s ease;
}

.password-toggle-unique:hover {
    color: var(--coral-500);
}

/* =================================================
   CHECKBOX & LINKS
   ================================================= */
.checkbox-unique {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.checkbox-unique input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--coral-500);
}

.checkbox-unique label {
    font-size: 14px;
    color: var(--brown-700);
    cursor: pointer;
}

.forgot-link-unique {
    text-align: right;
    margin-top: 10px;
}

.forgot-link-unique a {
    font-size: 14px;
    color: var(--coral-500);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.forgot-link-unique a:hover {
    color: var(--coral-700);
}

/* =================================================
   BUTTON - GRADIENT PILL
   ================================================= */
.auth-btn-unique {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--coral-500), var(--lime-500));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 30px;
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.auth-btn-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-btn-unique:hover::before {
    left: 100%;
}

.auth-btn-unique:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.45);
}

.auth-btn-unique:active {
    transform: translateY(-2px);
}

/* =================================================
   DIVIDER
   ================================================= */
.divider-unique {
    display: flex;
    align-items: center;
    margin: 35px 0;
    gap: 20px;
}

.divider-unique::before,
.divider-unique::after {
    content: '';
    flex: 1;
    height: 2px;
    background: var(--cream-50);
}

.divider-unique span {
    color: var(--brown-700);
    font-weight: 700;
    font-size: 13px;
}

/* =================================================
   SOCIAL BUTTONS - COLORFUL
   ================================================= */
.social-row-unique {
    display: flex;
    gap: 15px;
}

.social-btn-unique {
    flex: 1;
    padding: 16px;
    border: 3px solid var(--cream-50);
    background: white;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    color: var(--brown-900);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.social-btn-unique:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.social-btn-unique.google {
    border-color: var(--coral-300);
}

.social-btn-unique.facebook {
    border-color: var(--turquoise-500);
}

.social-btn-unique i {
    font-size: 20px;
}

.social-btn-unique.google i {
    color: var(--coral-500);
}

.social-btn-unique.facebook i {
    color: var(--turquoise-500);
}

/* =================================================
   BOTTOM LINK
   ================================================= */
.auth-link-unique {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: var(--brown-700);
}

.auth-link-unique a {
    color: var(--coral-500);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-link-unique a:hover {
    color: var(--coral-700);
    text-decoration: underline;
}

/* =================================================
   ALERTS
   ================================================= */
.alert-unique {
    padding: 18px 24px;
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-unique i {
    font-size: 20px;
}

.alert-error-unique {
    background: #ffe5e5;
    color: #c84b31;
    border: 3px solid #ffcccc;
}

.alert-success-unique {
    background: #e5f9f5;
    color: #2c8c7f;
    border: 3px solid #c7f5f2;
}

/* =================================================
   LOADING STATE
   ================================================= */
.auth-btn-unique.loading {
    pointer-events: none;
    opacity: 0.8;
}

.auth-btn-unique.loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =================================================
   RESPONSIVE
   ================================================= */
@media (max-width: 768px) {
    .auth-card-main {
        padding: 40px 30px;
        border-radius: 30px;
    }

    .auth-title {
        font-size: 28px;
    }

    .social-row-unique {
        flex-direction: column;
    }

    /* Keep floating circles visible and prominent on mobile! */
    .floating-circle {
        opacity: 0.25;
    }

    .circle-1 {
        width: 220px;
        height: 220px;
        top: 8%;
        left: -8%;
    }

    .circle-2 {
        width: 160px;
        height: 160px;
        top: 65%;
        right: -5%;
    }

    .circle-3 {
        width: 130px;
        height: 130px;
        bottom: 22%;
        left: 8%;
    }

    .circle-4 {
        width: 140px;
        height: 140px;
        top: 38%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .auth-card-main {
        padding: 35px 25px;
    }

    .layer-1,
    .layer-2 {
        display: none;
    }

    /* Keep circles visible but smaller */
    .floating-circle {
        opacity: 0.2;
    }

    .circle-1 {
        width: 160px;
        height: 160px;
        top: 5%;
        left: -10%;
    }

    .circle-2 {
        width: 120px;
        height: 120px;
        bottom: 8%;
        right: -8%;
    }

    .circle-3 {
        width: 100px;
        height: 100px;
        bottom: 25%;
        left: 5%;
    }

    .circle-4 {
        width: 110px;
        height: 110px;
        top: 40%;
        right: -5%;
    }
}

/* =================================================
   LOGO IMAGE STYLING
   ================================================= */
.auth-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 15px;
}