/* Custom Sleek Pro Form Styling (Light Theme) for Signup and Login */

:root {
    --primary-green: #49AF45;
    --primary-green-hover: #3e9e3a;
    --dark-font: #1e2229;
    --gray-bg: #f7f6ee;
}

/* Auth Body specific styling if needed */
.auth-body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background-color: var(--gray-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    max-width: 450px;
    width: 100%;
    padding: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
}

.brand-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.brand-logo {
    background-color: var(--primary-green);
    color: white;
    font-weight: 800;
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(73, 175, 69, 0.3);
    margin-right: 12px;
}

.brand-name {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark-font);
    letter-spacing: -0.5px;
}

.signup-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 95px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.glass-card-pro {
    background: #f7f6ee;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.glass-card-pro:hover {
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.form-group-pro {
    position: relative;
    margin-bottom: 20px;
}

.form-label-pro {
    color: #636e72;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.input-wrapper-pro {
    position: relative;
}

.form-control-pro {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1e2229;
    border-radius: 12px;
    padding: 12px 18px 12px 48px;
    transition: all 0.3s ease;
    font-size: 14px;
    width: 100%;
}

.form-control-pro:focus {
    background-color: #ffffff;
    border-color: #49AF45;
    box-shadow: 0 0 12px rgba(73, 175, 69, 0.2);
    color: #1e2229;
    outline: none;
}

.form-control-pro::placeholder {
    color: #b2bec3;
}

.input-icon-pro {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
    font-size: 17px;
    transition: color 0.3s;
    pointer-events: none;
}

.form-control-pro:focus ~ .input-icon-pro {
    color: #49AF45;
}

.textarea-wrapper-pro .input-icon-pro {
    top: 22px;
    transform: none;
}

.textarea-wrapper-pro .form-control-pro {
    padding-top: 12px;
    resize: none;
}

.password-toggle-pro {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #636e72;
    cursor: pointer;
    font-size: 17px;
    transition: color 0.2s;
}

.password-toggle-pro:hover {
    color: #1e2229;
}

.btn-premium-pro {
    background: #49AF45;
    border: none;
    color: white;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(73, 175, 69, 0.2);
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 10px;
}

.btn-premium-pro:hover {
    background: #3e9e3a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(73, 175, 69, 0.3);
    color: white;
}

.btn-premium-pro:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.password-strength-meter {
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    background: #d63031;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.strength-label-text {
    font-size: 11px;
    color: #636e72;
    margin-top: 4px;
    display: block;
    transition: color 0.3s;
}

/* Left Info Column Styling */
.signup-info-container {
    position: relative;
    z-index: 2;
    color: #1e2229;
}

.feature-icon-pro {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(73, 175, 69, 0.1);
    border: 1px solid rgba(73, 175, 69, 0.2);
    color: #49AF45;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.d-flex:hover .feature-icon-pro {
    background: rgba(73, 175, 69, 0.15);
    border-color: rgba(73, 175, 69, 0.3);
    transform: scale(1.05);
}

.stat-badge-pro {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px 22px;
    display: flex;
    flex-direction: column;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.stat-badge-pro:hover {
    background: #fdfdfb;
    border-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.stat-num-pro {
    color: #1e2229;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
}

.stat-label-pro {
    color: #636e72;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-weight: 600;
}

.btn-loading-spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
    vertical-align: middle;
    margin-right: 8px;
}

.back-to-home {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
}

.back-to-home a {
    color: #636e72;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.back-to-home a:hover {
    color: var(--primary-green);
}

@media (max-width: 991px) {
    .signup-section {
        padding: 60px 0;
    }
    .signup-info-container {
        margin-bottom: 50px;
        text-align: center;
    }
    .signup-info-container .d-flex {
        text-align: left;
    }
    .signup-info-container .justify-content-start {
        justify-content: center !important;
    }
}

@media (max-width: 576px) {
    .glass-card-pro {
        padding: 30px 24px;
    }
}

/* Custom Auth Form Validation States */
.form-control-pro.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px 16px !important;
}

.form-control-pro.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5' stroke-width='1'/%3e%3cpath stroke-width='1.2' d='M6 8.5V8M6 6.5V3.5'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px 16px !important;
}

/* Specific Select dropdown overrides to prevent duplicate/tiled dropdown indicator icons */
select.form-control-pro.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-size: 16px 12px !important;
    background-repeat: no-repeat !important;
}

select.form-control-pro.is-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dc3545' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-position: right 12px center !important;
    background-size: 16px 12px !important;
    background-repeat: no-repeat !important;
}
