/* SelectCountry.aspx page styles */
        .sc-wrapper { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 60px 0; min-height: calc(100vh - 200px); display: flex!important; align-items: center; position: relative; overflow: hidden; }
        .sc-map-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/assets/img/selectcountry.svg'); background-size: cover; background-position: center; background-repeat: no-repeat; filter: brightness(0.7); opacity: 0.6; z-index: 1; }
        .sc-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%); z-index: 1; pointer-events: none; }
        .sc-container { background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 40px; border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); position: relative; z-index: 2; border: 1px solid rgba(255, 255, 255, 0.3); }
        .sc-container:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #378b95, #667eea); border-radius: 12px 12px 0 0; }
        .sc-header { text-align: center; margin-bottom: 5px; }
        .sc-header h1 { font-size: 1.8em; color: #378b95; margin-bottom: 8px; font-weight: 600; }
        .sc-header p { color: #6c757d; font-size: 1em; margin: 0; }
        .sc-selector { position: relative; margin-bottom: 30px; }
        .sc-trigger { display: block; width: 100%; padding: 16px 20px; background: rgba(255, 255, 255, 0.9); border: 2px solid #dee2e6; border-radius: 8px; color: #333; text-decoration: none; cursor: pointer; transition: all 0.2s ease; position: relative; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
        .sc-trigger:hover { border-color: #378b95; background: rgba(255, 255, 255, 1); box-shadow: 0 4px 12px rgba(55, 139, 149, 0.1); }
        .sc-trigger:after { content: '\f107'; font-family: 'FontAwesome'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); transition: transform 0.2s; color: #378b95; }
        html[dir="rtl"] .sc-trigger:after { right: auto; left: 20px; }
        .sc-selector.active .sc-trigger:after { transform: translateY(-50%) rotate(180deg); }
        .sc-display { display: flex!important; align-items: center; gap: 12px; text-align: left; }
        html[dir="rtl"] .sc-display { text-align: right; }
        .sc-display img { width: 24px; height: 24px; border-radius: 3px; }
        .sc-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px; background: rgba(255, 255, 255, 0.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); z-index: 1000; overflow: hidden; }
        .sc-selector.active .sc-dropdown-menu { display: block; animation: sc-fadeInUp 0.3s ease; }
        @keyframes sc-fadeInUp { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
        .sc-search-box { padding: 15px; border-bottom: 1px solid rgba(222, 226, 230, 0.5); background: rgba(248, 249, 250, 0.8); }
        .sc-search-box input { width: 100%; padding: 12px; background: rgba(255, 255, 255, 0.9); border: 1px solid #dee2e6; border-radius: 6px; font-size: 14px; transition: all 0.2s ease; }
        .sc-search-box input:focus { outline: none; border-color: #378b95; box-shadow: 0 0 0 3px rgba(55, 139, 149, 0.1); background: rgba(255, 255, 255, 1); }
        .sc-options-container { max-height: 300px; overflow-y: auto; }
        .sc-option { display: block; margin: 0; }
        .sc-option a { display: flex!important; align-items: center; gap: 12px; padding: 12px 20px; color: #333; text-decoration: none; transition: all 0.2s ease; border-bottom: 1px solid rgba(222, 226, 230, 0.5); font-size:13px; text-align: left; }
        html[dir="rtl"] .sc-option a { text-align: right; }
        .sc-option:last-child a { border-bottom: none; }
        .sc-option a:hover { background: rgba(55, 139, 149, 0.05); color: #378b95; }
        .sc-option a img { width: 24px; height: 24px; border-radius: 2px; }
        .sc-counter { padding: 12px 20px; text-align: center; color: #6c757d; font-size: 13px; border-top: 1px solid rgba(222, 226, 230, 0.5); background: rgba(248, 249, 250, 0.8); }
        .sc-selected { background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(233, 236, 239, 0.6)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; padding: 24px; margin-bottom: 24px; display: flex!important; align-items: center; gap: 20px; transition: all 0.2s ease; }
        .sc-selected:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
        .sc-flag-large img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid white; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: all 0.2s ease; }
        .sc-selected:hover .sc-flag-large img { transform: scale(1.05); }
        .sc-info h4 { margin: 0 0 8px 0; color: #378b95; font-size: 18px; font-weight: 600; }
        .sc-info { text-align: left; }
        html[dir="rtl"] .sc-info { text-align: right; }
        .sc-info p { margin: 0; color: #6c757d; font-size: 14px; line-height: 1.5; }
        .sc-fab-notification { position: fixed; bottom: 24px; right: 24px; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 12px; padding: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); z-index: 10000; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; display: flex!important; align-items: center; gap: 12px; max-width: 320px; border: 1px solid rgba(255, 255, 255, 0.2); }
        html[dir="rtl"] .sc-fab-notification { right: auto; left: 24px; }
        .sc-fab-notification.show { transform: translateY(0); opacity: 1; }
        .sc-fab-notification.success { border-left: 4px solid #28a745; }
        .sc-fab-notification.error { border-left: 4px solid #dc3545; }
        .sc-fab-notification.warning { border-left: 4px solid #ffc107; }
        .sc-fab-notification.info { border-left: 4px solid #378b95; }
        html[dir="rtl"] .sc-fab-notification.success { border-left-width: 1px; border-left-color: rgba(255,255,255,0.2); border-right: 4px solid #28a745; }
        html[dir="rtl"] .sc-fab-notification.error { border-left-width: 1px; border-left-color: rgba(255,255,255,0.2); border-right: 4px solid #dc3545; }
        html[dir="rtl"] .sc-fab-notification.warning { border-left-width: 1px; border-left-color: rgba(255,255,255,0.2); border-right: 4px solid #ffc107; }
        html[dir="rtl"] .sc-fab-notification.info { border-left-width: 1px; border-left-color: rgba(255,255,255,0.2); border-right: 4px solid #378b95; }
        .sc-fab-icon { width: 32px; height: 32px; border-radius: 50%; display: flex!important; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
        .sc-fab-notification.success .sc-fab-icon { background: #28a745; color: white; }
        .sc-fab-notification.error .sc-fab-icon { background: #dc3545; color: white; }
        .sc-fab-notification.warning .sc-fab-icon { background: #ffc107; color: #333; }
        .sc-fab-notification.info .sc-fab-icon { background: #378b95; color: white; }
        .sc-fab-content { flex: 1; }
        .sc-fab-title { font-weight: 600; margin-bottom: 4px; font-size: 14px; }
        .sc-fab-message { color: #6c757d; font-size: 13px; line-height: 1.4; }
        .sc-fab-close { background: none; border: none; color: #adb5bd; font-size: 16px; cursor: pointer; padding: 4px; margin-left: 8px; transition: all 0.2s ease; border-radius: 4px; }
        html[dir="rtl"] .sc-fab-close { margin-left: 0; margin-right: 8px; }
        .sc-fab-close:hover { color: #333; background: rgba(0, 0, 0, 0.05); }
        /* Search input inherits page direction; keep placeholder aligned naturally */
        .sc-search-box input { direction: inherit; }
        /* Keyboard focus visibility */
        .sc-trigger:focus-visible, .sc-option a:focus-visible { outline: 2px solid #378b95; outline-offset: 2px; }
        /* Custom scrollbar for options list */
        .sc-options-container { scrollbar-width: thin; scrollbar-color: #b9c4cc transparent; }
        .sc-options-container::-webkit-scrollbar { width: 6px; }
        .sc-options-container::-webkit-scrollbar-thumb { background: #b9c4cc; border-radius: 3px; }
        @media (max-width: 768px) { .sc-wrapper { padding: 30px 0; } .sc-container { padding: 24px; margin: 16px 0; } .sc-selected { flex-direction: column; text-align: center; gap: 16px; } .sc-fab-notification, html[dir="rtl"] .sc-fab-notification { bottom: 16px; right: 16px; left: 16px; max-width: none; } .sc-map-background { filter: blur(30px) brightness(0.7); } html[dir="rtl"] .sc-selected, .sc-selected .sc-info { text-align: center; } }
        @media (max-width: 576px) { .sc-container { padding: 20px; } .sc-trigger { padding: 14px 16px; } .sc-selected { padding: 20px; } .sc-flag-large img { width: 50px; height: 50px; } }

/* Modern SelectCountry .scp-* styles */
.scp-global-card { position: relative; z-index: 2; min-height: 72px; display: grid !important; grid-template-columns: 46px 1fr auto !important; align-items: center !important; gap: 12px; padding: 12px 14px; margin-bottom: 12px; color: #fff; background: linear-gradient(135deg, #286f78, #378b95); border-radius: 14px; box-shadow: 0 12px 28px rgba(55,139,149,.20); transition: .18s ease; cursor: pointer; text-decoration: none !important; }
.scp-global-card:hover { transform: translateY(-2px); }
.scp-global-icon { width: 44px !important; height: 44px !important; min-width: 44px !important; max-width: 44px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; overflow: hidden !important; flex-shrink: 0 !important; }
.scp-global-icon img { width: 30px !important; height: 30px !important; min-width: 30px !important; max-width: 30px !important; max-height: 30px !important; object-fit: contain !important; display: block !important; }
.scp-global-card strong { display: block; font-size: .9rem; color: #fff; }
.scp-global-card .scp-global-sub { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-size: .7rem; }
.scp-arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 1rem; }
html[dir="rtl"] .scp-arrow { transform: scaleX(-1); }

.scp-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.scp-card { min-height: 66px; display: grid !important; grid-template-columns: 42px minmax(0, 1fr) 30px !important; align-items: center !important; gap: 10px; padding: 11px 12px; background: rgba(255,255,255,.92); border: 1px solid #dce9ea; border-radius: 12px; box-shadow: 0 8px 22px rgba(23,54,60,.045); transition: .18s ease; cursor: pointer; text-decoration: none !important; overflow: hidden !important; }
.scp-card:hover { transform: translateY(-2px); border-color: #b7d2d5; box-shadow: 0 13px 28px rgba(23,54,60,.09); }
.scp-flag { width: 42px !important; height: 42px !important; min-width: 42px !important; max-width: 42px !important; min-height: 42px !important; max-height: 42px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; background: #eef7f8; border-radius: 11px; overflow: hidden !important; flex-shrink: 0 !important; }
.scp-flag img { width: 30px !important; height: 30px !important; min-width: 30px !important; max-width: 30px !important; min-height: 30px !important; max-height: 30px !important; object-fit: contain !important; display: block !important; }
.scp-card strong { display: block; font-size: .82rem; color: #17363c; }
.scp-card small { display: block; margin-top: 3px; color: #60767b; font-size: .65rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scp-card .scp-go { width: 28px; height: 28px; display: grid; place-items: center; color: #378b95; background: #edf7f8; border-radius: 8px; font-weight: 900; }
html[dir="rtl"] .scp-card .scp-go { transform: scaleX(-1); }
.scp-card[data-hidden="true"] { display: none; }

@media (max-width: 850px) {
    .scp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .scp-grid { grid-template-columns: 1fr; }
    .scp-global-card { grid-template-columns: 44px 1fr 32px; }
}
