:root {
    --soft-blue: #a0c1d1;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --gold-accent: #d4af37;
}

body {
    font-family: 'Merriweather', serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0f0ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.auth-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.auth-left {
    background: linear-gradient(135deg, var(--soft-blue) 0%, #8aaec1 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right {
    padding: 40px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    height: 60px;
    margin-bottom: 10px;
}

.logo h2 {
    font-weight: 700;
    margin: 0;
}

.btn-primary {
    background-color: var(--soft-blue);
    border-color: var(--soft-blue);
    padding: 12px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #8aaec1;
    border-color: #8aaec1;
}

.form-control:focus {
    border-color: var(--soft-blue);
    box-shadow: 0 0 0 0.25rem rgba(160, 193, 209, 0.25);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-switch a {
    color: var(--soft-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold-accent);
    font-size: 1.2rem;
}

.quote {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 1.1rem;
}

.password-strength {
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

.strength-weak {
    background-color: #dc3545;
    width: 33%;
}

.strength-medium {
    background-color: #ffc107;
    width: 66%;
}

.strength-strong {
    background-color: #28a745;
    width: 100%;
}

.password-feedback {
    font-size: 0.8rem;
    margin-top: 5px;
}

.terms-link {
    color: var(--soft-blue);
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-text {
    font-size: 0.8rem;
    color: #6c757d;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

#registerPhone {
    border-left: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-left {
        padding: 30px 20px;
    }
    
    .auth-right {
        padding: 30px 20px;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 576px) {
    body {
        padding: 10px 0;
    }
    
    .auth-container {
        border-radius: 10px;
    }
    
    .auth-left, .auth-right {
        padding: 20px 15px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .quote {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-container {
    animation: fadeIn 0.5s ease-out;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spinner 0.75s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}