/* Split Login Layout */
.login-split-container {
    display: flex;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Left Side - Marketing Content */
.login-marketing-section {
    flex: 0.7;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-marketing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}

.marketing-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 600px;
}

.marketing-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.marketing-text p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 48px;
}

/* Feature Grid */
.marketing-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-slow);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    will-change: transform, box-shadow;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 24px 48px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-item:active {
    transform: translateY(-2px) scale(1);
}

.feature-icon {
    transition: all var(--transition-slow);
    will-change: transform;
}

.feature-item:hover .feature-icon {
    transform: scale(1.15) rotate(-8deg);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.4;
    margin: 0;
}

/* Right Side - Login Form */
.login-form-section {
    flex: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #FFFFFF;
    position: relative;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-form-section .logo-section {
    margin-bottom: 48px;
    text-align: center;
}

.login-form-section .logo {
    height: 80px;
    margin-bottom: 24px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.login-form-section .logo-section h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.login-form-section .logo-section p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
}

/* Form Labels */
.login-form .form-group {
    margin-bottom: 24px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: color 0.3s ease;
    z-index: 1;
}

.input-icon svg {
    width: 100%;
    height: 100%;
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary-color);
}

.login-form .form-group input {
    width: 100%;
    padding: 16px 20px 16px 48px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    will-change: transform, box-shadow;
}

.login-form .form-group input[type="password"] {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--primary-color);
    background: rgba(16, 185, 129, 0.08);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.login-form .form-group input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.login-form .btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25), 0 2px 8px rgba(16, 185, 129, 0.15);
    will-change: transform, box-shadow;
}

.login-form .btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4), 0 4px 16px rgba(16, 185, 129, 0.25);
    filter: brightness(1.05);
}

.form-footer {
    margin-top: 24px;
    text-align: center;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
}

/* Animated gradient background for marketing section */
.login-marketing-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10%, -10%) scale(1.1);
        opacity: 0.8;
    }
}

/* Button ripple effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.btn-primary:active::after {
    transform: scale(2);
    opacity: 1;
    transition: transform 0s, opacity 0s;
}

/* Floating particles effect */
.login-marketing-section .marketing-content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.login-marketing-section .marketing-content::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
    75% {
        transform: translateY(-25px) translateX(15px);
    }
}

/* Input focus animation */
.login-form .form-group input:focus {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 
        0 0 0 4px rgba(16, 185, 129, 0.12),
        0 4px 20px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

/* Label animation */
.login-form .form-group label {
    transition: color 0.3s ease;
}

.login-form .form-group:focus-within label {
    color: var(--primary-color);
}

