/* Authentication Styles */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.login-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 1rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.register-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.register-links p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.register-links a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.register-gentleman {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.register-lady {
    background: linear-gradient(135deg, #C9A0DC 0%, #AA8B2F 100%);
    color: white;
}

.register-gentleman:hover,
.register-lady:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(76, 209, 55, 0.1);
    border: 1px solid rgba(76, 209, 55, 0.3);
    color: #4cd137;
}

/* Password Reset Link Specifics */
.forgot-password-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

/* Registration Specifics */
.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
    background: radial-gradient(ellipse at top, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.registration-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--primary-gold);
    transform: scale(1.3);
}

.registration-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.role-badge {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #C9A0DC 0%, #AA8B2F 100%);
    color: white;
}

.registration-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 0;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.form-check-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-check-label a {
    color: var(--primary-gold);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.errorlist li {
    color: #ff6b6b;
    font-size: 0.9rem;
}

.helptext {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.login-link a {
    color: var(--primary-gold);
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* WhatsApp Input Group */
.whatsapp-input-group {
    display: flex;
    gap: 10px;
}

.whatsapp-input-code {
    width: 140px;
}

.whatsapp-input-phone {
    flex: 1;
}

/* Photo Upload Grid */
.photo-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.photo-field-wrapper .form-label {
    font-size: 0.8rem;
}

.current-img-preview {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
}

/* Alert Variations */
.alert-verification-error {
    border-left-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.alert-verification-error strong {
    color: #ff6b6b !important;
}

/* File Input & Photo Grid */
.file-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type="file"] {
    width: 100%;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

/* Info Alert */
.alert-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Skip Link */
.skip-link {
    text-align: center;
    margin-top: 1rem;
}

.skip-link a {
    color: var(--text-muted);
    text-decoration: none;
}

.skip-link a:hover {
    color: var(--primary-gold);
}

/* Form Row (Grid) */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* Verification */
.verification-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.verification-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 4rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.verification-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.verification-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.verification-message {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Auth Success/Generic */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.auth-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 3rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.icon-success {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-gold);
}

.auth-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-home {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-login {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Completion */
.completion-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.completion-card {
    background: var(--secondary-dark);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 4rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.success-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.completion-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.completion-message {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: left;
}

.info-box h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    margin-right: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-light);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}