/* --- Global Resets & Variables --- */
:root {
    --brand-purple: #6B46C1;
    --brand-purple-dark: #4C1D95;
    --brand-green: #10B981;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-light: #F7FAFC;
    --text-light-secondary: #E2E8F0;
    --bg-light: #F7FAFC;
    --bg-form: #FFFFFF;
    --border-color: #E2E8F0;
    --radius: 8px;
    --transition: all 0.2s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* --- Main Two-Column Container --- */
.signup-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- Left Panel: Form --- */
.form-panel {
    width: 55%;
    background-color: var(--bg-form);
    padding: 2rem 5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-purple);
    text-decoration: none;
}

.login-prompt {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-prompt a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
}
.login-prompt a:hover { text-decoration: underline; }

.form-content {
    max-width: 480px;
    margin: auto 0;
    width: 100%;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* --- Form Styling --- */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--border-color);
    padding: 0.75rem 0.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background-color: transparent;
}

.input-group input:focus {
    outline: none;
    border-color: var(--brand-purple);
}

/* --- CTA Button --- */
.cta-btn {
    background-color: var(--brand-green);
    color: white;
    padding: 0.875rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.cta-btn:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.terms {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1.5rem;
}
.terms a { color: var(--brand-purple); text-decoration: none; }
.terms a:hover { text-decoration: underline; }

/* --- Right Panel: Info --- */
.info-panel {
    width: 45%;
    background-color: var(--brand-purple-dark);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem;
}

.info-content {
    max-width: 400px;
    text-align: center;
}

.info-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.info-content p {
    color: var(--text-light-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.feature-card {
    background: var(--bg-form);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card img { width: 100%; display: block; }

.card-caption {
    padding: 1.5rem;
    text-align: left;
}
.card-caption strong { color: var(--text-primary); font-size: 1.2rem; }
.lancer-role { display: block; color: var(--text-secondary); font-size: 0.9rem; margin: 0.25rem 0; }
.verified-badge { display: inline-block; background-color: #E6FFFA; color: #2C7A7B; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700; margin-top: 0.75rem; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .form-panel { width: 100%; padding: 2rem; border-right: none; }
    .info-panel { display: none; } /* Hide info panel on smaller screens */
    .form-content { margin-top: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    .form-row { flex-direction: column; gap: 0; }
}

/* --- Engaging Success Message --- */
.engaging-success {
    color: #10B981;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
    font-weight: 600;
}

.engaging-success i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}