/* Register page specific styles */

/* Hero section pattern elements */
.hero-pattern-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

/* Form styles */
.form-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.form-input:focus {
    border-color: #f59e0b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

/* Tooltip icon */
.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    cursor: help;
    margin-left: 0.375rem;
    position: relative;
}

.tooltip-icon:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-4px);
}

.tooltip-text {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #1f2937;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1f2937;
}

/* Input hints */
.input-hint {
    display: none;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.375rem;
    font-style: italic;
}

.form-input:focus + .input-hint {
    display: block;
}

/* Error message styles */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Success message box */
.success-box {
    margin-bottom: 2rem;
    border-radius: 1rem;
    border: 1px solid #86efac;
    background: rgba(240, 253, 244, 0.8);
    backdrop-filter: blur(4px);
    color: #166534;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Checkbox custom styling */
.custom-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    color: #f59e0b;
    border: 2px solid #d1d5db;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.custom-checkbox:checked {
    background-color: #f59e0b;
    border-color: #f59e0b;
}

/* Submit button hover effect */
.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 1rem;
    background: linear-gradient(to right, #f59e0b, #f97316);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
}

.submit-btn:hover {
    background: linear-gradient(to right, #d97706, #ea580c);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
}

/* Info box styling */
.info-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(239, 246, 255, 0.5);
    border-radius: 0.75rem;
    border: 1px solid #bfdbfe;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tooltip-text {
        white-space: normal;
        max-width: 200px;
    }
}
