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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #eaf7ea 0%, #c8e6df 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="rgba(30,90,50,0.06)" stroke-width="0.8"><path d="M12 2L15 8.5L22 9.5L17 14L18.5 21L12 17.5L5.5 21L7 14L2 9.5L9 8.5L12 2z"/></svg>');
    background-repeat: repeat;
    background-size: 32px;
    opacity: 0.4;
    pointer-events: none;
}

.login-container { width: 100%; max-width: 1150px; background: white; border-radius: 48px; box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.02); overflow: hidden; display: flex; flex-wrap: wrap; transition: all 0.3s ease; position: relative; z-index: 2; }
.login-brand { flex: 1.2; background: linear-gradient(135deg, #1a5f2a 0%, #2c7a4d 100%); padding: 48px 40px; color: white; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.login-brand::after { content: "🌾"; font-size: 200px; position: absolute; bottom: -40px; right: -30px; opacity: 0.08; pointer-events: none; transform: rotate(-8deg); }
.brand-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.logo-icon { background: rgba(255,255,255,0.2); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 28px; backdrop-filter: blur(4px); font-size: 2.4rem; color: #ffffff; border: 1px solid rgba(255,255,240,0.3); }
.brand-text h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; }
.brand-text p { font-size: 0.7rem; opacity: 0.85; letter-spacing: 1px; margin-top: 4px; }
.login-brand h2 { font-size: 2rem; font-weight: 700; margin: 20px 0 12px 0; letter-spacing: -0.3px; }
.login-brand .tagline { font-size: 0.95rem; opacity: 0.9; margin-bottom: 32px; line-height: 1.45; max-width: 90%; }
.feature-list { list-style: none; margin-top: 12px; }
.feature-list li { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.feature-list li i { width: 28px; font-size: 1.2rem; color: #c8f0d4; }
.login-form-section { flex: 1; padding: 52px 44px; background: white; display: flex; flex-direction: column; justify-content: center; }
.form-header { margin-bottom: 32px; }
.form-header h3 { font-size: 1.9rem; font-weight: 700; color: #1a5f2a; letter-spacing: -0.3px; }
.form-header p { color: #3d7a56; margin-top: 8px; font-size: 0.9rem; }
.input-group { margin-bottom: 24px; position: relative; }
.input-group label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: #2a6e3f; margin-bottom: 8px; }
.input-field { width: 100%; padding: 14px 16px 14px 44px; border: 1.5px solid #d4e6da; border-radius: 32px; font-size: 0.95rem; font-family: 'Inter', sans-serif; transition: all 0.2s ease; background: #ffffff; outline: none; }
.input-field:focus { border-color: #2c7a4d; box-shadow: 0 0 0 4px rgba(44, 122, 77, 0.12); }
.input-icon { position: absolute; left: 18px; bottom: 16px; color: #5f9e6e; font-size: 1.1rem; }
.login-btn { width: 100%; background: linear-gradient(95deg, #1f6e3c, #2a7a48); border: none; padding: 14px; border-radius: 40px; font-weight: 700; font-size: 1rem; color: white; font-family: 'Inter', sans-serif; cursor: pointer; transition: 0.25s; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 4px 12px rgba(31, 110, 60, 0.25); margin-top: 8px; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -8px rgba(31, 110, 60, 0.45); background: linear-gradient(95deg, #185f34, #236e42); }
.login-btn[disabled] { opacity: 0.8; cursor: not-allowed; }
.error-msg { background: #ffe8e6; color: #c23d2b; padding: 10px 16px; border-radius: 40px; font-size: 0.75rem; margin-bottom: 18px; display: none; align-items: center; gap: 8px; border-left: 3px solid #e05a4a; }
.version-note { margin-top: 32px; text-align: center; font-size: 0.7rem; color: #4c8c64; border-top: 1px solid #e0efea; padding-top: 20px; display: flex; align-items: center; justify-content: center; gap: 14px; }
@media (max-width: 850px) { .login-container { flex-direction: column; border-radius: 32px; } .login-brand { text-align: center; align-items: center; padding: 40px 24px; } .brand-logo { justify-content: center; } .login-brand .tagline { max-width: 100%; } .feature-list { text-align: left; } .login-form-section { padding: 40px 28px; } }
.brand-watermark { position: absolute; bottom: 20px; left: 30px; font-size: 0.7rem; opacity: 0.4; color: white; }
