/* ── Login page styles ── */

/* Card wrapper */
.login-wrap {
    display: flex;
    min-height: 520px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16);
    font-family: 'Open Sans', sans-serif;
}

/* ── Left — form panel ── */
.login-form-panel {
    flex: 1;
    background: #fff;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.login-eyebrow-icon {
    width: 44px; height: 44px;
    background: #f0f7ea;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.login-eyebrow-icon i { color: #6ea933; font-size: 18px; }

.login-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}
.login-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
    font-weight: 500;
}

/* Fields */
.login-field { margin-bottom: 18px; }
.login-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 7px;
}

/* Input wrapper */
.login-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    background: #fafafa;
    transition: border-color 0.15s, box-shadow 0.15s;
    overflow: hidden;
}
.login-input-wrap:focus-within {
    border-color: #6ea933;
    box-shadow: 0 0 0 3px rgba(110,169,51,0.12);
    background: #fff;
}
.login-input-icon {
    width: 44px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    color: #bbb;
    font-size: 14px;
    flex-shrink: 0;
    border-right: 1.5px solid #eee;
    transition: color 0.15s, border-color 0.15s;
}
.login-input-wrap:focus-within .login-input-icon {
    color: #6ea933;
    border-right-color: #d4edba;
}
.login-input-wrap input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: none !important;
}
.login-input-wrap input::placeholder { color: #ccc; }

/* Remember me row */
.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 24px;
}
.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.login-remember input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: #6ea933;
    cursor: pointer;
}
.login-remember span {
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

/* Submit button */
.login-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #6ea933 0%, #4a8a1c 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(110,169,51,0.4);
}
.login-btn:hover {
    opacity: 0.92;
    box-shadow: 0 6px 20px rgba(110,169,51,0.5);
}

/* ── Right — brand panel ── */
.login-brand-panel {
    width: 44%;
    background: linear-gradient(160deg, #f0f7e6 0%, #d8edc0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.login-brand-panel::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(110,169,51,0.1);
}
.login-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(110,169,51,0.08);
}
.login-brand-logo {
    width: 180px;
    position: relative;
    z-index: 1;
}
.login-brand-tagline {
    margin-top: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #6ea933;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

/* Decorative diamond shapes */
.login-brand-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.login-brand-shape {
    position: absolute;
    border: 2px solid rgba(110,169,51,0.18);
    border-radius: 4px;
    transform: rotate(45deg);
}
.login-brand-shape:nth-child(1) { width: 24px; height: 24px; top: 15%; left: 12%; }
.login-brand-shape:nth-child(2) { width: 16px; height: 16px; top: 30%; right: 10%; }
.login-brand-shape:nth-child(3) { width: 20px; height: 20px; bottom: 25%; left: 18%; }
.login-brand-shape:nth-child(4) { width: 12px; height: 12px; bottom: 15%; right: 14%; }
.login-brand-shape:nth-child(5) { width: 18px; height: 18px; top: 65%; right: 20%; }

/* Responsive */
@media (max-width: 768px) {
    .login-brand-panel { display: none; }
    .login-form-panel { padding: 36px 28px; }
}
