:root {
    --primary: #222;
    --primary-hover: #000;
    --border: #ddd;
    --text-main: #222;
    --text-muted: #666;
    --bg-main: #ffffff;
    --bg-body: #fcfcfc;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --input-focus: #ffeb3b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--bg-body);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 1rem;
    overflow: hidden;
}

.shared-bg {
    background:
        linear-gradient(rgba(250, 250, 250, 0.7), rgba(250, 250, 250, 0.7)),
        url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&q=80&w=1600") center / cover no-repeat !important;
    background-blend-mode: normal;
}

.signup-container {
    display: flex;
    background-color: var(--bg-main);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 950px;
    height: 90vh;
    max-height: 650px;
}

.signup-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: #ffffff;
    overflow-y: auto;
}

.form-wrapper {
    width: 100%;
    max-width: 380px;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

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

.input-container input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    transition: border-color 0.3s;
    font-family: inherit;
    outline: none;
    background-color: #fff;
}

.input-container input:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(255, 235, 59, 0.2);
}

.input-icon {
    position: absolute;
    left: 12px;
    color: #888;
    font-size: 14px;
}

.field-error-text {
    display: none;
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    margin-left: 2px;
}

.field-error-text.active {
    display: block;
}

.input-container.has-error {
    border-color: #dc2626;
}

.btn-login {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}

.btn-login:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-login:active {
    transform: scale(0.98);
}

.signup-right {
    flex: 1.1;
    position: relative;
    background: url('https://res.cloudinary.com/dz7fuqwnr/image/upload/f_auto,q_auto/Gemini_Generated_Image_i7cd2mi7cd2mi7cd_wwxirk') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem;
    color: white;
    text-align: center;
}

.signup-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    z-index: 1;
}

.right-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.welcome-desc {
    font-family: inherit;
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    padding: 0.8rem 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: none;
}

.header-icon-spacing {
    margin-right: 8px; 
    font-size: 0.85em;
}

.forgot-pwd-align {
    text-align: right; 
    margin-bottom: 20px;
}

.forgot-pwd-align a {
    font-size: 13px; 
    color: #666; 
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-pwd-align a:hover {
    color: #222;
    text-decoration: underline !important;
}

.text-decoration-none {
    text-decoration: none !important;
}

@media (max-width: 850px) {
    .signup-container {
        flex-direction: column;
        height: auto;
        max-height: none;
        overflow-y: auto;
    }

    body {
        height: auto;
        overflow: auto;
    }

    .signup-left {
        padding: 2rem;
    }

    .signup-right {
        min-height: 350px;
        flex: none;
    }
}