/* Premium Auth Page Styles */
:root {
    --auth-primary: #3b82f6;
    --auth-primary-hover: #2563eb;
    --auth-bg: #f8fafc;
    --auth-card-bg: #ffffff;
    --auth-text: #1e293b;
    --auth-text-light: #64748b;
    --auth-border: #e2e8f0;
    --auth-input-focus: #3b82f6;
    --auth-radius: 12px;
    --auth-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.login-container {
    padding: 60px 20px;
    background-color: var(--auth-bg);
}

.login-card {
    background-color: var(--auth-card-bg);
    padding: 40px;
    border-radius: var(--auth-radius);
    box-shadow: var(--auth-shadow);
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid var(--auth-border);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--auth-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.login-header p {
    color: var(--auth-text-light);
    font-size: 1rem;
}

/* Form Styles */
.form-section {
    margin-bottom: 35px;
}

.form-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--auth-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

.form-section h3 i {
    color: var(--auth-primary);
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--auth-text);
}

.input-with-icon {
    position: relative;
    transition: all 0.2s;
}

.input-with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
}

.input-with-icon input,
.select-input {
    width: 100%;
    padding: 12px 16px 12px 45px !important;
    border: 1px solid var(--auth-border);
    border-radius: var(--auth-radius);
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    background-color: #ffffff;
    color: var(--auth-text);
}

/* Specific for select with icon */
.select-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.input-with-icon input::placeholder {
    color: #cbd5e1;
}

.input-with-icon input:focus,
.select-input:focus {
    border-color: var(--auth-primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background-color: #fff;
}

.input-with-icon:focus-within i {
    color: var(--auth-primary);
}

/* Grid System */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--auth-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

/* Radio & Checkbox */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--auth-text-light);
    transition: color 0.2s;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-primary);
}

.radio-label:hover {
    color: var(--auth-primary);
}

.terms-box {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: var(--auth-radius);
    border: 1px solid var(--auth-border);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--auth-text);
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-primary);
}

/* Utility */
.required {
    color: #ef4444;
    margin-left: 2px;
}

.btn-block {
    width: 100%;
}

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .login-card {
        padding: 25px 20px;
    }
}