/* Desktop */
.auth-wrapper {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 50px;
}

.auth-container {
    width: 100%;
    max-width: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.auth-left {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
    top: -100px;
    right: -100px;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    bottom: -60px;
    left: -60px;
}

.auth-left-content {
    position: relative;
    z-index: 1;
}

.auth-logo {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.auth-left h2 {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-left > .auth-left-content > p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.auth-step:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(3px);
}

.auth-step-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.auth-step-text h4 {
    color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.auth-step-text p {
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    margin: 0;
}

.auth-left-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.auth-left-footer p {
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    margin-bottom: 10px;
}

.auth-left-footer a {
    display: inline-block;
    background: white;
    color: #dc2626;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-left-footer a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.auth-right {
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h1 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.auth-header p {
    font-size: 13px;
    color: #6b7280;
}

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

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 13px;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: #dc2626;
    background: white;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 12px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    cursor: pointer;
}

.form-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #dc2626;
}

.form-options a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.form-options a:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.35);
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.auth-footer p {
    color: #6b7280;
    font-size: 12px;
}

.auth-footer a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 700;
}

.form-checkbox-group {
    background: #fef2f2;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    margin-bottom: 12px;
}

.form-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.form-checkbox-group input {
    width: 16px;
    height: 16px;
    accent-color: #dc2626;
}

.form-checkbox-group span {
    font-weight: 600;
    font-size: 13px;
}

.form-checkbox-group p {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
    margin-left: 24px;
}

.form-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 11px;
    color: #6b7280;
}

.form-terms input {
    margin-top: 2px;
    width: 14px;
    height: 14px;
    accent-color: #dc2626;
}

.form-terms a {
    color: #dc2626;
    text-decoration: none;
}

.form-terms a:hover {
    text-decoration: underline;
}

/* Tablet - 769px to 992px */
@media (max-width: 992px) {
    .auth-container {
        max-width: 700px;
    }
    
    .auth-grid {
        grid-template-columns: 1fr 1fr;
        min-height: 500px;
    }
    
    .auth-left, .auth-right {
        padding: 30px 25px;
    }
    
    .auth-step {
        padding: 10px 12px;
    }
}

/* Mobile - 481px to 768px */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 15px 10px;
        min-height: auto;
        align-items: flex-start;
    }
    
    .auth-container {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .auth-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .auth-left {
        padding: 25px 20px;
    }
    
    .auth-logo {
        width: 45px;
        height: 45px;
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .auth-left h2 {
        font-size: 20px;
    }
    
    .auth-left > .auth-left-content > p {
        font-size: 12px;
        margin-bottom: 18px;
    }
    
    .auth-steps {
        gap: 8px;
    }
    
    .auth-step {
        padding: 10px 12px;
    }
    
    .auth-step-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .auth-step-text h4 {
        font-size: 12px;
    }
    
    .auth-step-text p {
        font-size: 10px;
    }
    
    .auth-right {
        padding: 25px 20px;
    }
    
    .auth-header h1 {
        font-size: 20px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
}

/* Small Mobile - 320px to 480px */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 10px 8px;
    }
    
    .auth-container {
        border-radius: 12px;
    }
    
    .auth-left {
        padding: 20px 15px;
    }
    
    .auth-logo {
        width: 40px;
        height: 40px;
        font-size: 12px;
        margin-bottom: 14px;
    }
    
    .auth-left h2 {
        font-size: 18px;
    }
    
    .auth-step {
        padding: 8px 10px;
    }
    
    .auth-step-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .auth-right {
        padding: 20px 15px;
    }
    
    .auth-header {
        margin-bottom: 18px;
    }
    
    .auth-header h1 {
        font-size: 18px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .btn-auth {
        padding: 12px;
        font-size: 13px;
    }
}