/* Auth Pages (Login & Register) Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-header {
    text-align: center;
    margin-bottom: 35px;
}

.register-header h2 {
    color: #333;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-header p {
    color: #666;
    font-size: 1rem;
    font-weight: 300;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-control {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    color: #333;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #aaa;
    font-weight: 300;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 0;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    accent-color: #667eea;
}

.form-check-label {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

.form-check-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-check-label a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.btn-register {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-register:active {
    transform: translateY(0);
}

.btn-register:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-register:hover::before {
    left: 100%;
}

.text-center {
    text-align: center;
}

.text-center i {
    color: #666 !important;
    font-style: normal;
}

.text-center a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.text-center a:hover {
    color: #764ba2;
}

.text-center a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.text-center a:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 576px) {
    .register-container {
        padding: 30px 25px;
        margin: 10px;
        border-radius: 15px;
    }
    
    .register-header h2 {
        font-size: 1.8rem;
    }
    
    .form-control {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .btn-register {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .register-container {
        padding: 25px 20px;
    }
    
    .register-header h2 {
        font-size: 1.6rem;
    }
}

/* Loading state */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Input validation states */
.form-control.is-valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .register-container {
        background: rgba(30, 30, 30, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .register-header h2 {
        color: #fff;
    }
    
    .register-header p {
        color: #ccc;
    }
    
    .form-control {
        background: rgba(50, 50, 50, 0.9);
        border-color: #444;
        color: #fff;
    }
    
    .form-control::placeholder {
        color: #999;
    }
    
    .form-check-label {
        color: #ccc;
    }
    
    .text-center i {
        color: #ccc !important;
    }
}