/* ========================================
   REGISTER PAGE STYLES
   ======================================== */

/* Body Background */
.register-body {
    background: linear-gradient(135deg, #d0d0d0 0%, rgba(212, 175, 55, 0.12) 25%, #d8d8d8 50%, rgba(244, 208, 63, 0.09) 75%, #d0d0d0 100%);
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

/* Register Card */
.register-card {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 20px;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

/* Logo */
.register-logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Title & Subtitle */
.register-title {
    color: #d4af37;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Form Labels */
.form-label {
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #e0e0e0;
    padding: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-control::placeholder {
    color: #808080;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #d4af37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: #fff;
}

/* Password Toggle Buttons */
.btn-outline-secondary {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #f4d03f;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

.strength-text {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
}

.strength-text.weak {
    color: #dc3545;
}

.strength-text.medium {
    color: #ffc107;
}

.strength-text.strong {
    color: #28a745;
}

/* Checkbox */
.form-check-input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

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

.form-check-label {
    color: #b0b0b0;
    font-size: 0.85rem;
}

/* Links */
.terms-link {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #f4d03f;
}

/* Register Button */
.btn-register {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.7rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

/* Login Text */
.login-text {
    color: #b0b0b0;
    font-size: 0.85rem;
    margin: 0;
}

.login-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #f4d03f;
}

/* Back to Home */
.back-home {
    color: #808080;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: #d4af37;
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.2);
    color: #5cb85c;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Validation Feedback */
.invalid-feedback {
    color: #ff6b6b;
    font-size: 0.8rem;
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:valid {
    border-color: #28a745;
}

/* Responsive */
@media (max-width: 576px) {
    .register-card {
        padding: 1.2rem 1.5rem;
    }
    
    .register-title {
        font-size: 1.2rem;
    }
}
