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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #212529;
    overflow-x: hidden;
}

.login-page {
    min-height: 100vh;
    display: flex;
    background: #ffffff;
}

/* Left Section - Brand Panel (35% width) */
.left-section {
    flex: 0 0 35%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
    justify-content: space-between;
}

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

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.left-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(30px, -30px) rotate(240deg);
    }
}

/* Floating decorative shapes */
.left-section .decoration-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.15;
}

.left-section .decoration-shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    top: 10%;
    left: -50px;
    animation: floatShape1 20s ease-in-out infinite;
}

.left-section .decoration-shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    bottom: 20%;
    right: -30px;
    animation: floatShape2 18s ease-in-out infinite;
}

.left-section .decoration-shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    right: 20%;
    animation: floatShape3 25s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -80px) scale(1.2);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-60px, 70px) scale(1.1);
    }
}

@keyframes floatShape3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-40px, -50px) rotate(180deg);
    }
}

/* Shimmer effect */
.left-section .shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Particle effect dots */
.left-section .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
}

.left-section .particle-1 {
    top: 20%;
    left: 30%;
    animation: particleMove1 12s ease-in-out infinite;
}

.left-section .particle-2 {
    top: 60%;
    left: 15%;
    animation: particleMove2 15s ease-in-out infinite;
    animation-delay: 2s;
}

.left-section .particle-3 {
    top: 80%;
    left: 60%;
    animation: particleMove3 18s ease-in-out infinite;
    animation-delay: 4s;
}

.left-section .particle-4 {
    top: 30%;
    left: 80%;
    animation: particleMove4 14s ease-in-out infinite;
    animation-delay: 1s;
}

.left-section .particle-5 {
    top: 70%;
    left: 45%;
    animation: particleMove5 16s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes particleMove1 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate(30px, -40px);
        opacity: 0.8;
    }
}

@keyframes particleMove2 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(-25px, 35px);
        opacity: 0.7;
    }
}

@keyframes particleMove3 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.5;
    }
    50% {
        transform: translate(40px, -30px);
        opacity: 0.9;
    }
}

@keyframes particleMove4 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }
    50% {
        transform: translate(-35px, 25px);
        opacity: 0.8;
    }
}

@keyframes particleMove5 {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(20px, 45px);
        opacity: 0.7;
    }
}

.logo-container {
    position: relative;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 40px;
}

.brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand-tagline {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

/* Sticker Showcase */
.sticker-showcase {
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding-top: 40px;
}

.showcase-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sticker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 280px;
}

.sticker-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sticker-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sticker-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.sticker-item:hover::before {
    opacity: 1;
}

.sticker-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.4s ease;
}

.sticker-item:hover .sticker-icon {
    transform: scale(1.2) rotate(5deg);
}

.sticker-item-1 {
    animation: floatSticker1 6s ease-in-out infinite;
}

.sticker-item-2 {
    animation: floatSticker2 7s ease-in-out infinite;
    animation-delay: 0.5s;
}

.sticker-item-3 {
    animation: floatSticker3 8s ease-in-out infinite;
    animation-delay: 1s;
}

.sticker-item-4 {
    animation: floatSticker4 6.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.sticker-item-5 {
    animation: floatSticker5 7.5s ease-in-out infinite;
    animation-delay: 0.8s;
}

.sticker-item-6 {
    animation: floatSticker6 8.5s ease-in-out infinite;
    animation-delay: 1.2s;
}

@keyframes floatSticker1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatSticker2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatSticker3 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatSticker4 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-11px);
    }
}

@keyframes floatSticker5 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-9px);
    }
}

@keyframes floatSticker6 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-13px);
    }
}

/* Right Section - Login Form (65% width) */
.right-section {
    flex: 0 0 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.right-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(160,160,160,0.15)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.7;
    pointer-events: none;
}

.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    padding: 48px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.login-header {
    margin-bottom: 40px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

.login-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin-top: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #212529;
    font-size: 14px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.label-row label {
    margin: 0;
}

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

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    z-index: 1;
    width: 20px;
    height: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    color: #212529;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.input-action-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
}

.input-action-btn:hover {
    color: #667eea;
}

.input-action-btn svg {
    width: 16px;
    height: 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #667eea;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 14px;
    color: #495057;
    margin: 0;
    cursor: pointer;
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
    font-size: 14px;
}

.success {
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #198754;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: none;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 968px) {
    .login-page {
        flex-direction: column;
    }
    
    .left-section {
        flex: 0 0 auto;
        padding: 30px 40px;
        min-height: 200px;
    }
    
    .right-section {
        flex: 0 0 auto;
        padding: 30px 20px;
    }
    
    .brand-logo {
        max-width: 150px;
    }
    
    .sticker-showcase {
        display: none;
    }
    
    .login-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .left-section {
        padding: 20px;
        min-height: 150px;
    }
    
    .brand-logo {
        max-width: 120px;
    }
    
    .brand-tagline {
        font-size: 12px;
    }
    
    .login-title {
        font-size: 28px;
    }
    
    .right-section {
        padding: 20px 16px;
    }
}
