/* Material 3 / Split Screen Auth Styling */
:root {
    --primary-color: #0b57d0; /* Logistics Blue */
    --primary-hover: #0842a0;
    --text-main: #1f1f1f;
    --text-muted: #6c757d;
    --input-bg: #f3f6fc;
    --border-radius-lg: 12px;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #fff;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* --- Layout --- */
.auth-wrapper {
    height: 100vh; /* Force full viewport height */
    width: 100%;
    overflow: hidden; /* Prevent body scroll if content fits */
}

.row-full-height {
    height: 100%;
}

/* Left Panel (Brand) */
.left-panel {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    height: 100%; /* Full height */
}

.brand-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: fit-content;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
}

/* Right Panel (Form) */
.right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    padding: 2rem;
    background: #fff;
    height: 100%; /* Full height */
    overflow-y: auto; /* Allow scrolling only inside form panel if needed */
}

.form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Typography */
.auth-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Form Controls */
.form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

/* Input Group */
.input-group-text {
    background-color: var(--input-bg);
    border: 1px solid transparent;
    border-right: none;
    border-top-left-radius: var(--border-radius-lg);
    border-bottom-left-radius: var(--border-radius-lg);
    color: #6c757d;
    cursor: default;
}

.input-group-text.cursor-pointer {
    cursor: pointer;
}

.form-control {
    background-color: var(--input-bg);
    border: 1px solid transparent;
    border-left: none;
    border-top-right-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
    padding: 0.8rem 1rem 0.8rem 0;
    font-size: 0.95rem;
    height: auto;
}

.form-control:focus {
    box-shadow: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.form-control:focus + .input-group-text, 
.input-group:focus-within .input-group-text {
    background-color: #fff;
    border-color: #dee2e6;
}

/* Signup Specific Styles */
.role-switcher {
    display: flex;
    background: #f1f3f4;
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 2rem;
}
.role-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    background: transparent;
}
.role-btn.active {
    background: white;
    color: var(--text-main);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    position: relative;
}
.step-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: #adb5bd;
    text-transform: uppercase;
}
.step-item.active { color: var(--primary-color); }

/* Button */
.btn-primary-auth {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
    border-radius: 50px;
    width: 100%;
    border: none;
    transition: background 0.3s;
    font-size: 1rem;
}
.btn-primary-auth:hover {
    background-color: var(--primary-hover);
}

@media (max-width: 992px) {
    .auth-wrapper { height: auto; overflow: auto; }
    .left-panel { min-height: 300px; padding: 2rem; }
    .hero-title { font-size: 2rem; }
    .right-panel { height: auto; padding: 2rem 1.5rem; }
}