/* Terms and Submit Section Styles */

/* CSS Variables */
:root {
    --primary: #F26522;
    --secondary: #ffffff;
    --secondary-40: rgba(255, 255, 255, 0.4);
    --bg-body: #111111;
    --text-l: 1.25rem;
}

.registration-submit-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.terms-checkboxes {
    margin-bottom: 1.5rem;
}

.ers-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.ers-checkbox-label:last-child {
    margin-bottom: 0;
}

.ers-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.terms-text {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    min-width: 0;
}

/* Hover Effects */
.custom-checkbox:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.ers-checkbox-label:hover .custom-checkbox {
    border-color: var(--primary);
}

/* Focus States */
.ers-checkbox-label:focus-within .custom-checkbox {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Submit Section */
.submit-section {
    text-align: center;
}

/* Message Styling */
#registration-message {
    margin: 1rem 0;
}

.success-message,
.error-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease-out;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid #22c55e;
		margin-bottom: 1rem; 
    color: #22c55e;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    color: #ef4444;
}

.message-icon {
    font-size: 1.25rem;
    font-weight: bold;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ers-checkbox-label {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .custom-checkbox {
        width: 18px;
        height: 18px;
    }
    
    .registration-submit-section {
        padding: 1rem;
    }
} 