/* Auth Layout Styles - Split Design */
.auth-container {
    min-height: 100vh;
    display: flex;
    background: #f8f9fa;
}

.auth-left {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    opacity: 0.05;
    transform: skewX(-15deg);
    transform-origin: top right;
}

.auth-right {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    position: relative;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(237, 32, 87, 0.1);
}

.auth-header {
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
}

.auth-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.auth-body {
    padding: 2.5rem;
}

.auth-logo {
    max-height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.auth-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.auth-subtitle {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #495057;
    font-size: 0.95rem;
}

.auth-features li i {
    color: #ED2057;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.back-to-home {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-to-home .btn {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(237, 32, 87, 0.2);
    color: #ED2057;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-to-home .btn:hover {
    background: #ED2057;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 32, 87, 0.3);
}

/* Form Styling in Auth Layout */
.auth-body .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

/* Success Alert Styling */
.auth-body .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #c3e6cb;
    color: #155724;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(21, 87, 36, 0.1);
}

.auth-body .alert-success .btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #155724;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.auth-body .alert-success .btn-close:hover {
    opacity: 1;
}

.auth-body .alert-success i {
    color: #28a745;
}

.auth-body .form-control:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.15);
    transform: translateY(-1px);
}

.auth-body .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.auth-body .form-select:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.15);
    transform: translateY(-1px);
}

.auth-body .input-group-text {
    background-color: rgba(237, 32, 87, 0.1);
    border: 2px solid #e9ecef;
    border-right: none;
    color: #ED2057;
    font-weight: 500;
}

.auth-body .input-group .form-control {
    border-left: none;
}

.auth-body .input-group .form-control:focus {
    border-left: none;
}

.auth-body .btn-primary {
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-body .btn-primary:hover {
    background: linear-gradient(135deg, #C41A47 0%, #8B0520 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 32, 87, 0.4);
}

.auth-body .btn-outline-primary {
    border: 2px solid #ED2057;
    color: #ED2057;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-body .btn-outline-primary:hover {
    background-color: #ED2057;
    border-color: #ED2057;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 32, 87, 0.4);
}

.auth-body .form-check-input:checked {
    background-color: #ED2057;
    border-color: #ED2057;
}

.auth-body .form-check-input:focus {
    border-color: #ED2057;
    box-shadow: 0 0 0 0.25rem rgba(237, 32, 87, 0.15);
}

.auth-body .text-primary {
    color: #ED2057 !important;
}

.auth-body a {
    color: #ED2057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.auth-body a:hover {
    color: #C41A47;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }
    
    .auth-left {
        padding: 2rem;
        min-height: 40vh;
    }
    
    .auth-right {
        padding: 2rem;
        min-height: 60vh;
    }
    
    .auth-logo {
        max-height: 80px;
    }
    
    .auth-tagline {
        font-size: 1.25rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .auth-left {
        padding: 1.5rem;
        min-height: 35vh;
    }
    
    .auth-right {
        padding: 1.5rem;
        min-height: 65vh;
    }
    
    .auth-header {
        padding: 2rem;
    }
    
    .auth-body {
        padding: 2rem;
    }
    
    .back-to-home {
        top: 15px;
        left: 15px;
    }
    
    .auth-body .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .auth-logo {
        max-height: 70px;
    }
    
    .auth-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .auth-left {
        padding: 1rem;
        min-height: 30vh;
    }
    
    .auth-right {
        padding: 1rem;
        min-height: 70vh;
    }
    
    .auth-header {
        padding: 1.5rem;
    }
    
    .auth-body {
        padding: 1.5rem;
    }
    
    .auth-logo {
        max-height: 60px;
    }
    
    .auth-tagline {
        font-size: 1rem;
    }
    
    .auth-subtitle {
        font-size: 0.85rem;
    }
    
    .auth-body .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .back-to-home {
        top: 10px;
        left: 10px;
    }
    
    .back-to-home .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Animation Effects */
.auth-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.back-to-home .btn {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.auth-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hover Effects */
.auth-features li {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.auth-features li:hover {
    background-color: rgba(237, 32, 87, 0.05);
    transform: translateX(5px);
}

.auth-features li i {
    transition: all 0.3s ease;
}

.auth-features li:hover i {
    transform: scale(1.2);
    color: #C41A47;
}

/* Logo Animation */
.auth-logo {
    transition: all 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.05);
}

/* Card Hover Effect */
.auth-card {
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 60px rgba(0,0,0,0.12);
}

/* Form Field Focus Effects */
.auth-body .form-control:focus,
.auth-body .form-select:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 32, 87, 0.15);
}

/* Button Hover Effects */
.auth-body .btn-primary:hover,
.auth-body .btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 32, 87, 0.4);
}

/* Subtle Background Pattern */
.auth-left::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(237, 32, 87, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.auth-right::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(237, 32, 87, 0.02) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Loading States */
.btn-primary:disabled {
    background: linear-gradient(135deg, #ED2057 0%, #C41A47 100%);
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-primary:disabled:hover {
    transform: none;
    box-shadow: none;
}