:root{
    --pure-white: #ffffff;
    --primary-color: #084e22;
    --secondary-color: #f1753c;
    --primary-hover: #076f2d;
    --ultra-black: #060606;
    --eerie-black: #111111;
    --glass-bg: rgba(26, 26, 26, 0.6);
    --pure-white: #ffffff;
    --text-muted: #888888;
    --accent-glow: rgba(202, 81, 24, 0.15);
}
/* Scoped variables and base styles for the component */
.signup-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: var(--pure-white);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Scoped Selectors */
.signup-wrapper .info-panel {
    flex: 1.2;
    background-image: url('../assets/images/banner/bg1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    overflow: hidden;
}

.signup-wrapper .info-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.signup-wrapper .info-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    top: -100px;
    left: -100px;
    z-index: 2;
}

.signup-wrapper .info-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.signup-wrapper .info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: var(--primary-color);
}

.signup-wrapper .info-title span {
    color: var(--primary-color);
}

.signup-wrapper .subtitle {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.signup-wrapper .form-panel {
    flex: 1;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.signup-wrapper .signup-card {
    width: 100%;
    max-width: 440px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.signup-wrapper .brand-logo {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.signup-wrapper .brand-logo-icon {
    margin-right: 8px;
    fill: var(--primary-color);
}

.signup-wrapper h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.signup-wrapper .form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.signup-wrapper .form-group-custom {
    position: relative;
    margin-bottom: 1.75rem;
}

.signup-wrapper .form-control-custom {
    background: transparent;
    border: none !important;
    border-bottom: 1.5px solid #2a2a2a !important;
    border-radius: 0;
    padding: 10px 0;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: none !important;
    color: #111111;
}

/* Override Browser Autocomplete Backgrounds */
.signup-wrapper .form-control-custom:-webkit-autofill,
.signup-wrapper .form-control-custom:-webkit-autofill:hover, 
.signup-wrapper .form-control-custom:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-muted);
    -webkit-box-shadow: 0 0 0px 1000px var(--ultra-black) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.signup-wrapper .form-control-custom:focus {
    outline: none;
    border-bottom: 1.5px solid var(--primary-color) !important;
}

.signup-wrapper .form-label-custom {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.signup-wrapper .form-control-custom:focus ~ .form-label-custom,
.signup-wrapper .form-control-custom:not(:placeholder-shown) ~ .form-label-custom {
    top: -18px;
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.signup-wrapper .strength-meter {
    height: 2px;
    width: 100%;
    background: #222;
    margin-top: -15px;
    margin-bottom: 2rem;
}

.signup-wrapper .strength-progress {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}

.signup-wrapper .btn-signup {
    background: var(--primary-color);
    border: none;
    color: var(--pure-white);
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(202, 81, 24, 0.2);
}

.signup-wrapper .btn-signup:hover {
    background-color: #e65d1d;
    transform: translateY(-1px);
}

.signup-wrapper .divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.signup-wrapper .divider::before, .signup-wrapper .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #222;
}

.signup-wrapper .divider::before { left: 0; }
.signup-wrapper .divider::after { right: 0; }

.signup-wrapper .divider span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-wrapper .btn-social {
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    width: 100%;
    transition: background 0.3s ease;
    cursor: pointer;
}

.signup-wrapper .btn-social:hover {
    background: rgba(255,255,255,0.08);
}

.signup-wrapper .login-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.signup-wrapper .login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.signup-wrapper #feedback {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.signup-wrapper .success-text {
    color: #2ecc71;
}

/* Scoped Selectors */
.login-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background-color: var(--pure-white);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Scoped Selectors */
.login-wrapper .info-panel {
    flex: 1.2;
    background-image: url('../assets/images/banner/bg2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    position: relative;
    overflow: hidden;
}

.login-wrapper .info-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.login-wrapper .info-panel::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.2;
    top: -100px;
    left: -100px;
    z-index: 2;
}

.login-wrapper .info-content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.login-wrapper .info-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: var(--primary-color);
}

.login-wrapper .info-title span {
    color: var(--primary-color);
}

.login-wrapper .subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.login-wrapper .form-panel {
    flex: 1;
    background: var(--pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.login-wrapper .login-card {
    width: 100%;
    max-width: 440px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-wrapper .brand-logo {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.login-wrapper .brand-logo-icon {
    margin-right: 8px;
    fill: var(--primary-color);
}

.login-wrapper h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.login-wrapper .form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.login-wrapper .form-group-custom {
    position: relative;
    margin-bottom: 1.75rem;
}

.login-wrapper .form-control-custom {
    background: transparent;
    border: none !important;
    border-bottom: 1.5px solid #2a2a2a !important;
    border-radius: 0;
    padding: 10px 0;
    color: var(--text-muted) !important;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    box-shadow: none !important;
}

/* Override Browser Autocomplete Backgrounds */
.login-wrapper .form-control-custom:-webkit-autofill,
.login-wrapper .form-control-custom:-webkit-autofill:hover, 
.login-wrapper .form-control-custom:-webkit-autofill:focus, 
.signup-wrapper .form-control-custom:-webkit-autofill,
.signup-wrapper .form-control-custom:-webkit-autofill:hover, 
.signup-wrapper .form-control-custom:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--ultra-black) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.login-wrapper .form-control-custom:focus,
.signup-wrapper .form-control-custom:focus {
    outline: none;
    border-bottom: 1.5px solid var(--primary-color) !important;
}

.login-wrapper .form-label-custom {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

/* Float the label if focused, has text, or is webkit-autofilled */
.login-wrapper .form-control-custom:focus ~ .form-label-custom,
.login-wrapper .form-control-custom:not(:placeholder-shown) ~ .form-label-custom,
.login-wrapper .form-control-custom:-webkit-autofill ~ .form-label-custom {
    top: -18px;
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-wrapper .btn-login {
    background: var(--primary-color);
    border: none;
    color: var(--pure-white);
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(202, 81, 24, 0.2);
    margin-top: 1rem;
    outline: 0;
}

.login-wrapper .btn-login:hover {
    background-color: #e65d1d;
    transform: translateY(-1px);
    cursor: pointer;
}

.login-wrapper .divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.login-wrapper .divider::before, .login-wrapper .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: #222;
}

.login-wrapper .divider::before { left: 0; }
.login-wrapper .divider::after { right: 0; }

.login-wrapper .divider span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-wrapper .btn-social {
    background: rgba(255,255,255,0.03);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    width: 100%;
    transition: background 0.3s ease;
    cursor: pointer;
    color: #111111;
}

.login-wrapper .btn-social:hover {
    background: rgba(255,255,255,0.08);
}

.login-wrapper .signup-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-wrapper .signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-wrapper .forgot-password {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-top: -10px;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.login-wrapper .forgot-password:hover {
    color: var(--primary-color);
}

.login-wrapper #feedback {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-wrapper .success-text {
    color: #2ecc71;
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    .signup-wrapper .info-panel { padding: 3rem; }
    .signup-wrapper .info-title { font-size: 2.5rem; }
    .login-wrapper .info-panel { padding: 3rem; }
    .login-wrapper .info-title { font-size: 2.5rem; }
}

@media (max-width: 860px) {
    .signup-wrapper { flex-direction: column; }
    .signup-wrapper .info-panel { display: none; } 
    .signup-wrapper .form-panel { padding: 2.5rem 1.5rem; min-height: 100vh; }
    .login-wrapper { flex-direction: column; }
    .login-wrapper .info-panel { display: none; } 
    .login-wrapper .form-panel { padding: 2.5rem 1.5rem; min-height: 100vh; }
}

/* spinner */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
