/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Login Container Styles */
.login-container {
    display: flex;
    background-color: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Login Form Styles */
.login-form {
    flex: 1;
    padding: 50px;
    background-color: #0a0a0a;
}

.login-form h1 {
    font-size: 30px;
    margin-bottom: 30px;
    color: #fff;
}

.form-heading {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 16px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background-color: #151515;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #3cbe87;
    box-shadow: 0 0 0 2px rgba(60, 190, 135, 0.2);
}

.form-group input::placeholder {
    color: #555;
}

.forgot-password {
    text-align: right;
    margin-bottom: 30px;
}

.forgot-password a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #3cbe87;
    text-decoration: underline;
}

.btn-signin {
    width: 100%;
    padding: 15px;
    background-color: #3cbe87;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 35px;
}

.btn-signin:hover {
    background-color: #33a876;
}

/* Social Login Styles */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #151515;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-btn.google {
    color: #fff;
}

.social-btn.github {
    color: #fff;
}

.social-btn.facebook {
    color: #fff;
}

.social-btn:hover {
    background-color: #222;
}

.create-account {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #222;
}

.create-account a {
    color: #3cbe87;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.create-account a:hover {
    text-decoration: underline;
}

/* Testimonial Container Styles */
.testimonial-container {
    flex: 1.2;
    background-color: #3cbe87;
    padding: 50px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}

.testimonial-content {
    width: 100%;
}

.testimonial-content h2 {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.2;
}

.quote-mark {
    font-size: 64px;
    margin-bottom: 15px;
    font-weight: bold;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    min-height: 80px; /* Ensure consistent height between testimonials */
    transition: opacity 0.3s ease;
}

.testimonial-author {
    margin-bottom: 40px;
}

.author-name {
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.author-title {
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-btn.prev {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-btn.next {
    background-color: #222;
}

/* Feature Card Styles */
.feature-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    color: #000;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.avatar-group {
    display: flex;
}

.avatar-group img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}

.avatar-group img:first-child {
    margin-left: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-form, .testimonial-container {
        padding: 30px;
    }
    
    .testimonial-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .login-form, .testimonial-container {
        padding: 20px;
    }
    
    .login-form h1 {
        font-size: 24px;
    }
    
    .form-group input {
        padding: 12px;
    }
    
    .btn-signin {
        padding: 12px;
    }
    
    .social-login {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-content h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .quote-mark {
        font-size: 48px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .login-form, .testimonial-container {
        padding: 15px;
    }
    
    .login-form h1 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .form-heading {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 10px;
        font-size: 14px;
    }
    
    .btn-signin {
        padding: 10px;
        font-size: 14px;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-content h2 {
        font-size: 20px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .author-name {
        font-size: 16px;
    }
    
    .author-title {
        font-size: 12px;
    }
}

/* Add viewport meta tag support */
@supports (display: flex) {
    html {
        height: 100%;
    }
    
    body {
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.toggle-password {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #3cbe87;
}

.toggle-password:focus {
    outline: none;
}

.password-input-container input {
    width: 100%;
    padding-right: 40px;
}

/* =====================================================================
   Login / Signup redesign (2024) — layered on top of the base styles.
   ===================================================================== */
body {
    background:
        radial-gradient(1100px 600px at 15% -10%, rgba(60, 190, 135, 0.14), transparent 60%),
        radial-gradient(900px 500px at 100% 110%, rgba(60, 190, 135, 0.10), transparent 55%),
        #050505;
    padding: 24px;
}

.login-container {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
}

.login-form {
    padding: 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ffffff, #8ff0c6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-heading {
    color: #8a8a8a;
    margin-bottom: 34px;
    font-size: 15px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #b5b5b5;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background-color: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3cbe87;
    background-color: #171717;
    box-shadow: 0 0 0 3px rgba(60, 190, 135, 0.18);
}

/* Custom select with chevron. color-scheme:dark makes the native dropdown
   popup render dark so it matches the theme (Chrome/Edge/Firefox). */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    color-scheme: dark;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}
.form-group select option {
    background: #141414;
    color: #fff;
    padding: 10px;
}
.form-group select option:checked,
.form-group select option:hover {
    background: #3cbe87;
    color: #04120b;
}
/* Grey out the placeholder while nothing is chosen. */
.form-group select:has(option[value=""]:checked) { color: #666; }

.btn-signin {
    padding: 15px;
    border-radius: 12px;
    background: linear-gradient(90deg, #3cbe87, #33a876);
    box-shadow: 0 8px 22px rgba(60, 190, 135, 0.28);
    letter-spacing: 0.3px;
    margin-bottom: 22px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-signin:hover {
    background: linear-gradient(90deg, #3cbe87, #33a876);
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(60, 190, 135, 0.36);
}
.btn-signin:active { transform: translateY(0); }

.forgot-password { margin-bottom: 22px; }
.forgot-password a { color: #9a9a9a; font-size: 13px; }

.create-account {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
    margin-top: 4px;
}

.password-input-container input { border-radius: 12px; }
.toggle-password { right: 14px; }

/* Right-side panel */
.testimonial-container {
    background:
        radial-gradient(700px 320px at 80% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
        linear-gradient(160deg, #3cbe87 0%, #2b9f6f 100%);
    padding: 56px 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 34px;
    min-height: unset;
}

.feature-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.feature-card h3 { font-size: 18px; line-height: 1.35; margin-bottom: 12px; color: #0a0a0a; }
.feature-card p { color: #444; }
.avatar-group img { width: 34px; height: 34px; }

@media (max-width: 992px) {
    .login-container { flex-direction: column; max-width: 480px; }
    .testimonial-container { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
    .login-form { padding: 40px 32px; }
    .testimonial-text { font-size: 17px; }
}

@media (max-width: 480px) {
    body { padding: 14px; }
    .login-form { padding: 32px 22px; }
    .testimonial-container { padding: 32px 24px; }
}
