@charset "UTF-8";

/* ========================================
   Flower Link Login - Distinctive Design
   Organic/Natural + Luxury/Refined Aesthetic
   PC Only - Bold, Memorable, Production-Grade
   ======================================== */

:root {
    /* Primary Colors - Natural Green Palette */
    --fl-forest: #1a4d3a;
    --fl-sage: #3d6b52;
    --fl-moss: #5a8a6f;
    --fl-mint: #a8d5ba;
    --fl-cream: #f5f0e8;
    
    /* Accent Colors - Warm Earth Tones */
    --fl-terracotta: #c97d60;
    --fl-sand: #d4b896;
    --fl-gold: #d4a574;
    
    /* Neutral Palette */
    --fl-charcoal: #2c2c2c;
    --fl-stone: #6b6b6b;
    --fl-cloud: #e8e5e0;
    --fl-paper: #faf9f6;
    
    /* Shadows & Depth */
    --fl-shadow-soft: 0 4px 20px rgba(26, 77, 58, 0.08);
    --fl-shadow-medium: 0 8px 32px rgba(26, 77, 58, 0.12);
    --fl-shadow-deep: 0 16px 48px rgba(26, 77, 58, 0.16);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

/* ========================================
   Main Login Wrapper
   ======================================== */
.login-wrapper {
    position: relative;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem;
}

/* ========================================
   Main Container - Asymmetric Grid Layout
   ======================================== */
.login-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    width: 100%;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Brand Section - Left Side
   ======================================== */
.login-brand-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2rem 0;
    position: relative;
    transform: translateX(-20px);
    animation: slideInLeft 1s ease 0.4s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(-20px);
    }
}

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.brand-icon-wrapper {
    margin-bottom: 2rem;
    animation: scaleInRotate 1s ease 0.5s both;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
}

@keyframes scaleInRotate {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Decorative circles around icon */
.brand-icon-wrapper::before,
.brand-icon-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--fl-cloud);
    opacity: 0.4;
    animation: pulseRing 3s ease-in-out infinite;
}

.brand-icon-wrapper::before {
    width: 180px;
    height: 180px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 0s;
}

.brand-icon-wrapper::after {
    width: 220px;
    height: 220px;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    animation-delay: 1.5s;
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.05);
    }
}

.brand-icon {
    width: 140px;
    height: 140px;
    color: var(--fl-forest);
    filter: drop-shadow(0 8px 24px rgba(26, 77, 58, 0.2));
    animation: gentleRotate 30s linear infinite;
    display: block;
    margin: 0;
    position: relative;
    z-index: 1;
}

@keyframes gentleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brand-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--fl-forest);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--fl-forest) 0%, var(--fl-sage) 50%, var(--fl-moss) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.7s both;
    text-align: left;
    position: relative;
}

.brand-title::after {
    content: 'B2B';
    position: absolute;
    top: -0.5rem;
    right: -3rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fl-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: fadeInUp 1s ease 0.9s both;
}

.brand-subtitle {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: italic;
    color: var(--fl-stone);
    margin: 0 0 2rem 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease 0.9s both;
    text-align: right;
    position: relative;
}

.brand-divider {
    width: 100%;
    max-width: 280px;
    height: 4px;
    background: linear-gradient(90deg, var(--fl-gold) 0%, var(--fl-moss) 50%, var(--fl-gold) 100%);
    margin: 0 0 2rem 0;
    border-radius: 2px;
    animation: expandWidth 1.2s ease 1.1s both;
    position: relative;
    opacity: 0.8;
}

.brand-divider::before,
.brand-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--fl-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212, 165, 116, 0.6);
}

.brand-divider::before {
    left: 0;
}

.brand-divider::after {
    right: 0;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 0.8;
    }
}

.brand-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--fl-stone);
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease 1.3s both;
    text-align: left;
    line-height: 1.8;
}

/* Feature Cards */
.brand-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 1.4s both;
}

.brand-feature-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--fl-cloud);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(26, 77, 58, 0.04);
}

.brand-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 77, 58, 0.08);
    border-color: var(--fl-moss);
    background: rgba(255, 255, 255, 0.8);
}

.brand-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fl-moss), var(--fl-sage));
    border-radius: 10px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(90, 138, 111, 0.2);
}

.brand-feature-text {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--fl-charcoal);
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.brand-feature-text strong {
    color: var(--fl-forest);
    font-weight: 600;
}

/* ========================================
   Form Section - Right Side
   ======================================== */
.login-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    width: 100%;
    max-width: 520px;
    box-shadow: 
        0 20px 60px rgba(26, 77, 58, 0.12),
        0 8px 24px rgba(26, 77, 58, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    animation: slideInRight 1s ease 0.5s both;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 24px 72px rgba(26, 77, 58, 0.15),
        0 12px 32px rgba(26, 77, 58, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Decorative Top Border */
.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--fl-forest), var(--fl-moss), var(--fl-gold), var(--fl-moss), var(--fl-forest));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--fl-forest);
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--fl-stone);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ========================================
   Form Elements
   ======================================== */
.login-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--fl-charcoal);
    letter-spacing: 0.01em;
}

.label-icon {
    color: var(--fl-moss);
    font-size: 1.2rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.form-group:focus-within .label-icon {
    color: var(--fl-forest);
    transform: scale(1.1);
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.125rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--fl-charcoal);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--fl-cloud);
    border-radius: 16px;
    outline: none;
    box-shadow: 
        0 2px 8px rgba(26, 77, 58, 0.04),
        inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder {
    color: var(--fl-stone);
    font-weight: 300;
    opacity: 0.6;
}

.form-input:focus {
    border-color: var(--fl-moss);
    background: #fff;
    box-shadow: 
        0 0 0 4px rgba(90, 138, 111, 0.12), 
        0 4px 16px rgba(26, 77, 58, 0.1),
        0 2px 8px rgba(90, 138, 111, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--fl-stone);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
    border-radius: 8px;
}

.password-toggle:hover {
    color: var(--fl-forest);
    background: rgba(168, 213, 186, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.password-wrapper .form-input {
    padding-right: 4rem;
}

/* ========================================
   Checkbox - Custom Styled
   ======================================== */
.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--fl-stone);
    user-select: none;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: var(--fl-charcoal);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--fl-cloud);
    border-radius: 8px;
    background: var(--fl-paper);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(26, 77, 58, 0.06);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: linear-gradient(135deg, var(--fl-moss), var(--fl-sage));
    border-color: var(--fl-moss);
    box-shadow: 0 4px 12px rgba(90, 138, 111, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
}

.checkbox-text {
    font-weight: 400;
    line-height: 1.5;
}

/* ========================================
   Warning Messages
   ======================================== */
.form-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 193, 7, 0.08));
    border-left: 4px solid #ffc107;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #856404;
    line-height: 1.6;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-warning i {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 1.1rem;
}

/* ========================================
   Login Button - Premium Styled
   ======================================== */
.btn-login {
    width: 100%;
    padding: 1.25rem 2rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--fl-forest) 0%, var(--fl-sage) 50%, var(--fl-moss) 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--fl-shadow-medium);
    position: relative;
    overflow: hidden;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
}

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

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

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: var(--fl-shadow-deep);
    background: linear-gradient(135deg, var(--fl-sage) 0%, var(--fl-moss) 50%, var(--fl-sage) 100%);
}

.btn-login:active {
    box-shadow: var(--fl-shadow-medium);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-login:hover .btn-icon {
    transform: translateX(5px);
}

/* ========================================
   Form Footer Links
   ======================================== */
.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--fl-cloud);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.link-join,
.link-find {
    color: var(--fl-stone);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    position: relative;
}

.link-join::before,
.link-find::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--fl-moss);
    transition: width 0.3s ease;
}

.link-join:hover::before,
.link-find:hover::before {
    width: calc(100% - 2rem);
}

.link-join:hover,
.link-find:hover {
    color: var(--fl-forest);
    transform: translateY(-2px);
    background: rgba(168, 213, 186, 0.1);
}

.link-join i,
.link-find i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.link-join:hover i,
.link-find:hover i {
    transform: rotate(10deg) scale(1.1);
}

.link-divider {
    color: var(--fl-cloud);
    font-weight: 300;
    font-size: 1.2rem;
}

/* ========================================
   Join Button
   ======================================== */
.btn-join {
    width: 100%;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--fl-forest);
    background: transparent;
    border: 2px solid var(--fl-cloud);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
    letter-spacing: 0.01em;
}

.btn-join:hover {
    border-color: var(--fl-moss);
    background: rgba(168, 213, 186, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(90, 138, 111, 0.15);
}

.btn-join:active {
    transform: translateY(0);
}

/* ========================================
   Responsive - PC Only (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
    .login-container {
        grid-template-columns: 1.2fr 1fr;
        gap: 5rem;
    }
}

/* Hide on mobile/tablet - PC only design */
@media (max-width: 1023px) {
    .login-wrapper {
        display: none;
    }
}
