* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.phone-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* عرض ثابت للكود */
.phone-input-group .select2-container {
    width: 115px !important;
    min-width: 110px;
    flex-shrink: 0;
}

/* يخلي input ياخد باقي المساحة */
.phone-input-group .phone-input {
    flex: 1;
    min-width: 0;
}

/* 👇 نخلي الدروب داون يتمدّد بعرض الفون كله */
.select2-dropdown {
    min-width: 400px !important;
}

/* في الموبايل */
@media (max-width: 576px) {
    .phone-input-group .select2-container {
        width: 95px !important;
    }

    .select2-dropdown {
        min-width: 75vw !important;
        left: 0 !important;
    }
}

@media (max-width: 960px) {
    .reg-input:focus, .form-input:focus { box-shadow :none !important;}}


/* Remove tap highlight and focus outline globally */
*, *:focus, *:active {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button, input, select, textarea, a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button:focus, input:focus, select:focus, textarea:focus, a:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Performance optimizations for smooth scrolling */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Remove blue overscroll effect on mobile */
    overscroll-behavior: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'AZURESans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('../docs/fancy-living-room.webp') center center/cover no-repeat, var(--azure-primary);
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
    overflow-x: hidden;
    /* Remove blue overscroll effect on mobile */
    overscroll-behavior: none;
    /* Performance: Remove background-attachment fixed from body for better scroll performance */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all elements inherit the font */
* {
    font-family: inherit;
}

/* Specific font applications */
h1, h2, h3, h4, h5, h6 {
    font-family: 'AZURESans', sans-serif;
}

/* Remove default select2 box styling */
.select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    height: 100% !important;
    display: flex;
    align-items: center;
}

.select2-container {
    border-right: 1px solid #ddd; /* خط فاصل خفيف */
}
.phone-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #0d3b66; /* نفس لون التصميم */
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.country-code-select {
    width: 170px;
}

.select2-container {
    width: 170px !important;
}
.phone-input {
    border: none !important;
    flex: 1;
    outline: none;
}


.title-serif,
.auth-title,
.confirmation-title,
.reg-hero-title {
    font-family: 'TTJenevers', 'AZURESans', serif;
}

input, select, textarea, button {
    font-family: 'AZURESans', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* No-select utility */
.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
select option:disabled {
  color: #aaa;
}
/* Loading States */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error states */
.error-message {
    color: var(--white);
    padding: 0rem;
    font-size: 0.9rem;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}