/* Auth Styles - resources/css/auth.css */

* {
    font-family: 'Poppins', sans-serif;
}

body.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Container */
.auth-container {
    max-width: 1000px;
    width: 100%;
}

.auth-container.narrow {
    max-width: 500px;
}

/* Card */
.auth-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Left Side - Branding */
.auth-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.auth-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.auth-left h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.auth-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.auth-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.auth-icon-container {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.auth-icon-container .auth-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Right Side - Form */
.auth-right {
    padding: 60px 40px;
}

.auth-right h2 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-right .subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* Single Card Layout */
.auth-card.single {
    padding: 60px 40px;
}

.auth-card.single h2 {
    color: #333;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.auth-card.single .subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* Form Controls */
.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    border: 2px solid #e1e8ed;
    border-right: none;
    background: white;
    color: #667eea;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.input-group:focus-within .input-group-text {
    border-color: #667eea;
}

/* Buttons */
.btn-auth-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

/* Links */
.link-primary {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-primary:hover {
    color: #764ba2;
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.back-link:hover {
    color: #764ba2;
    transform: translateX(-5px);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #999;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e8ed;
}

.divider span {
    padding: 0 15px;
}

/* Social Buttons */
.social-btn {
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 10px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    width: 100%;
    font-weight: 500;
}

.social-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    color: #667eea;
    transform: translateY(-2px);
}

/* Password Strength */
.password-strength {
    height: 5px;
    border-radius: 5px;
    background: #e1e8ed;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-left {
        padding: 40px 20px;
    }

    .auth-left h1 {
        font-size: 2rem;
    }

    .auth-icon {
        font-size: 3rem;
    }

    .auth-right {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .auth-card.single {
        padding: 40px 20px;
    }
}
