/* ==========================================================================
   RV Seeds - Authentication Styles (Login & OTP Verification)
   ========================================================================== */

* {
    box-sizing: border-box;
}

body.agro-login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    background: url('../images/auth-images.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Decorative subtle light aura on left for card enhancement */
body.agro-login-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.agro-login-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px clamp(20px, 5vw, 70px);
}

.agro-main-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(30px, 5vw, 70px);
}

/* Left Card Section */
.agro-card-col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 440px;
    margin-left: clamp(5px, 2vw, 30px);
}

.agro-login-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 2.25rem 2.25rem;
    position: relative;
}

.agro-logo-wrap {
    text-align: center;
    margin-bottom: 1.25rem;
}

.agro-logo-wrap img {
    height: 52px;
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.agro-title-section {
    margin-bottom: 1.5rem;
}

.agro-welcome-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.agro-welcome-sub {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 0;
}

.agro-login-card .form-label {
    font-weight: 600;
    color: #334155;
    font-size: 13px;
    margin-bottom: 6px;
}

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

.input-icon-group .input-icon-left {
    position: absolute;
    left: 14px;
    color: #2e7d32;
    font-size: 16px;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 3;
}

.input-icon-group .form-control {
    padding-left: 42px;
    padding-right: 42px;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid #2e7d32;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.input-icon-group .form-control::placeholder {
    color: #94a3b8;
    font-size: 13.5px;
}

.input-icon-group .form-control:focus {
    border-color: #1b5e20;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.18);
    outline: none;
}

.input-icon-group .password-toggle-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 3;
    transition: color 0.2s;
}

.input-icon-group .password-toggle-btn:hover {
    color: #1e293b;
}

/* OTP Specific Input Styling */
.input-icon-group input#otp.form-control {
    padding-left: 42px;
    padding-right: 14px;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #2e7d32;
    font-size: 18px;
    color: #1e293b;
    background-color: #ffffff;
    letter-spacing: 6px;
    text-align: center;
    font-weight: 700;
}

.input-icon-group input#otp.form-control::placeholder {
    color: #94a3b8;
    letter-spacing: 4px;
    font-weight: normal;
    font-size: 15px;
}

.agro-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    margin-bottom: 20px;
    font-size: 13px;
}

.agro-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0;
    user-select: none;
}

.agro-checkbox-label input[type="checkbox"] {
    accent-color: #2e7d32;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agro-forgot-link {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.agro-forgot-link:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.btn-agro-signin {
    width: 100%;
    height: 48px;
    background: #236838;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(35, 104, 56, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-agro-signin:hover {
    background: #1b522c;
    box-shadow: 0 6px 18px rgba(35, 104, 56, 0.45);
    transform: translateY(-1px);
    color: #ffffff;
}

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

.btn-arrow-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.agro-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #94a3b8;
    font-size: 12px;
}

.agro-divider::before,
.agro-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.agro-divider:not(:empty)::before {
    margin-right: 12px;
}

.agro-divider:not(:empty)::after {
    margin-left: 12px;
}

.btn-google-preview {
    width: 100%;
    height: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
    font-weight: 600;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-google-preview:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.agro-signup-footer {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #64748b;
}

.agro-signup-footer a {
    color: #2e7d32;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.agro-signup-footer a:hover {
    text-decoration: underline;
}

.agro-otp-links {
    margin-top: 20px;
    text-align: center;
    font-size: 13.5px;
}

.agro-otp-links a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.agro-otp-links a:hover {
    color: #1b5e20;
    text-decoration: underline;
}

.agro-otp-back {
    margin-top: 8px;
    font-size: 13px;
}

.agro-otp-back a {
    color: #64748b;
    text-decoration: none;
}

.agro-otp-back a:hover {
    color: #1e293b;
    text-decoration: underline;
}

/* Right Hero Section */
.agro-hero-col {
    flex: 0 1 auto;
    max-width: 540px;
    padding-left: 0;
}

.agro-leaf-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.agro-hero-title {
    font-size: clamp(32px, 3.8vw, 44px);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.agro-hero-title .highlight-green {
    color: #2e7d32;
}

.agro-hero-subtitle {
    font-size: 16px;
    color: #334155;
    font-weight: 500;
    margin-bottom: 28px;
}

.agro-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.agro-feature-pill {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.agro-pill-icon {
    color: #2e7d32;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.agro-pill-text {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.3;
}

.agro-pill-text strong {
    display: block;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 700;
}

@media (max-width: 991px) {
    .agro-login-layout {
        justify-content: center;
        padding: 30px 15px;
    }
    .agro-main-row {
        justify-content: center;
    }
    .agro-card-col {
        max-width: 440px;
        margin: auto;
    }
    .agro-hero-col {
        display: none;
    }
}
