/* Register Page Specific Styles */

/* Debug Information Boxes */
.debug-info {
    background: #f0f0f0;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border-left: 4px solid var(--info-color);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
}

.debug-info h4 {
    margin: 0 0 10px 0;
    color: var(--info-color);
    font-size: 16px;
    font-weight: 600;
}

.debug-info p {
    margin: 5px 0;
    color: #333;
}

.debug-error {
    background: #ffebee;
    color: #c62828;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border-left: 4px solid #c62828;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
}

.debug-error h4 {
    margin: 0 0 10px 0;
    color: #c62828;
    font-size: 16px;
    font-weight: 600;
}

.debug-error p {
    margin: 5px 0;
}

.debug-error pre {
    background: rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 12px;
    overflow-x: auto;
}

/* Password requirements styles are centralized in main.css */

/* Success/Error Messages in Register Context */
.auth-container .message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #c3e6cb;
    border-left: 4px solid #28a745;
}

.auth-container .message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-color: #f5c6cb;
    border-left: 4px solid #dc3545;
}

/* Form Input Focus States for Registration */
.auth-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.auth-form input:valid {
    border-color: var(--success-color);
}

.auth-form input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--danger-color);
}

/* Mobile Responsive for Register Form */
@media (max-width: 768px) {
    /* Password requirements mobile styles are in main.css */
    
    .debug-info,
    .debug-error {
        padding: 8px;
        margin: 8px 0;
        font-size: 12px;
    }
    
    .debug-error pre {
        font-size: 11px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    /* Password requirements mobile styles are in main.css */
    
    .debug-info,
    .debug-error {
        padding: 6px;
        margin: 6px 0;
        font-size: 11px;
    }
} 