/* Premium Minimalist Background */
.auth-bg {
    background-color: #f8fafc;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

/* Ambient Glowing Orbs */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.6;
}
.glow-1 {
    width: 400px; height: 400px;
    top: 20%; left: -100px;
    background: rgba(16, 185, 129, 0.4); /* Green */
}
.glow-2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -50px;
    background: rgba(245, 158, 11, 0.3); /* Amber/Yellow */
}

/* Split Card Design */
.auth-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

/* Specific Card Widths */
.auth-card-login { max-width: 800px; }
.auth-card-register { max-width: 900px; }

/* Left Side */
.auth-left {
    background-color: #115e3b; /* Deep forest green */
    /* Subtle dot pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    color: white;
    position: relative;
}

/* Specific Left Widths */
.auth-card-login .auth-left { width: 42%; }
.auth-card-register .auth-left { width: 38%; }

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly smaller */
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
}
.back-link:hover {
    opacity: 0.8;
    color: white;
}

.badge-portal {
    background-color: #ffffff;
    color: #115e3b;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

/* Inner Glass Card */
.inner-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    margin-top: auto; /* Push to bottom */
    transition: background 0.3s ease;
}
.inner-feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
}
.inner-icon-box {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    flex-shrink: 0;
}

/* Feature List (Register) */
.feature-list-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    transition: background 0.3s ease;
}
.feature-list-item:hover {
    background: rgba(255, 255, 255, 0.15);
}
.feature-check {
    width: 24px;
    height: 24px;
    background-color: #f59e0b; /* yellow-500 */
    color: #111827; /* dark text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 1rem;
    flex-shrink: 0;
}
.feature-text {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Testimonial Box */
.testimonial-box {
    display: flex;
    align-items: center;
    margin-top: auto;
}
.testimonial-box img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    background: white;
    padding: 5px;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Right Side */
.auth-right {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Specific Right Widths and Padding */
.auth-card-login .auth-right { 
    width: 58%; 
    padding: 3.5rem 3.5rem; 
}
.auth-card-register .auth-right { 
    width: 62%; 
    padding: 3.5rem 3rem; 
}

@media (max-width: 991px) {
    .auth-left { display: none !important; }
    .auth-right { width: 100% !important; padding: 3rem 2.5rem !important; }
    .auth-card { max-width: 600px !important; border-radius: 24px; }
}

/* Type Toggle Styling (Clean version) */
.type-toggle {
    display: flex;
    background: #f8fafc;
    border-radius: 50px;
    padding: 5px;
    margin-bottom: 1.5rem;
}
.type-toggle input[type="radio"] {
    display: none;
}
.type-toggle label {
    flex: 1;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}
.type-toggle input[type="radio"]:checked + label {
    background: #ffffff;
    color: #115e3b;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

/* Clean Inputs */
.input-group-custom {
    position: relative;
    margin-bottom: 1.25rem;
}
.input-group-custom .icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1.1rem;
    z-index: 10;
}
.input-group-custom input, .input-group-custom textarea {
    background-color: #f8fafc;
    border: 2px solid transparent; 
    border-radius: 14px;
    padding: 1rem 1rem 1rem 3rem;
    width: 100%;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 500;
    transition: all 0.25s ease;
}
.input-group-custom textarea {
    padding: 1rem;
}
.input-group-custom input::placeholder, .input-group-custom textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
}
.input-group-custom input:focus, .input-group-custom textarea:focus {
    background-color: #ffffff;
    border-color: #10b981;
    outline: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}
.input-group-custom input:focus + .icon-left,
.input-group-custom input:focus ~ .icon-left,
.input-group-custom textarea:focus + .icon-left {
    color: #10b981; /* Icon turns green on focus */
}
.input-group-custom .password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0;
}
.input-group-custom .password-toggle:hover {
    color: #10b981;
}

/* Pill Button */
.btn-login, .btn-register {
    background: #115e3b;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    padding: 1.1rem;
    font-size: 1.05rem;
    width: 100%;
    transition: all 0.3s ease;
}
.btn-login:hover, .btn-register:hover {
    background: #064e3b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(17, 94, 59, 0.4);
}
