@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e40af;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3a8a;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease;
}

.register-form {
    width: 100%;
}

.register-form .form-group {
    margin-bottom: 1rem;
}

.register-form .form-control,
.register-form .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-form .form-control:focus,
.register-form .form-select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

.register-form .form-control::placeholder {
    color: #6b7280;
}

.register-form .btn_send {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    background-color: #10b981;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.register-form .btn_send:hover:not(:disabled) {
    background-color: #059669;
}

.register-form .btn_send:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.register-form .error {
    background: #fecaca !important;
    border-color: #f87171 !important;
}

:root {
    --iti-path-flags-1x: url('https://cdn.jsdelivr.net/npm/intl-tel-input@28.1.0/dist/img/flags.webp');
    --iti-path-flags-2x: url('https://cdn.jsdelivr.net/npm/intl-tel-input@28.1.0/dist/img/flags@2x.webp');
}

.register-form .iti {
    width: 100%;
    display: block;
}

.register-form .iti .form-control {
    padding: 0.75rem 1rem !important;
    padding-left: 6.75rem !important;
}

.register-form .iti__country-container {
    padding: 0;
}

.register-form .iti__selected-country-primary {
    padding: 0 0.5rem 0 0.75rem;
}

.register-form .iti__selected-dial-code {
    display: inline-block !important;
    color: #111827 !important;
    font-size: 1rem;
    margin-left: 4px;
}

.register-form .iti__flag {
    display: block !important;
    flex-shrink: 0;
}

.register-form .iti__country-list {
    z-index: 2222;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 5px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Perfect centering for step numbers in circles */
.step-number-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

