
    /* Modern Design System for Country Checker */
    .modern-checker-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 20px;
        padding: 40px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
        margin: 2rem auto;
        font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        position: relative;
        overflow: hidden;
        max-width: 800px;
    }
    
    .modern-checker-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #006E5C,#6B8E45,#D1AD32);
    }
    
    .checker-header {
        text-align: center;
        margin-bottom: 35px;
    }
    
    .checker-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #006E5C 0%,#6B8E45 50%,#D1AD32 100%);
        border-radius: 50%;
        margin-bottom: 20px;
    }
    
    .checker-icon svg {
        width: 32px;
        height: 32px;
        color: white;
    }
    
    .checker-title {
        color: #2d3748;
        font-size: 28px;
        font-weight: 700;
        margin: 0 0 10px 0;
    }
    
    .checker-subtitle {
        color: #718096;
        font-size: 16px;
        margin: 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
    }
    
    /* Modern Form Controls */
    .checker-form {
        margin-bottom: 30px;
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: #2d3748;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .form-group label svg {
        width: 18px;
        height: 18px;
        color: #4299e1;
    }
    
    .form-input-wrapper {
        position: relative;
    }
    
    .country-input {
        width: 100%;
        padding: 16px 50px 16px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        color: #4a5568;
        background: white;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    
    .country-input:focus {
        border-color: #4299e1;
        box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
        outline: none;
    }
    
    .country-input:hover {
        border-color: #cbd5e0;
    }
     
    .country-input1 {
        width: 100%;
        padding: 16px 50px 16px 16px;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        font-size: 15px;
        color: #4a5568;
        background: white;
        transition: all 0.3s ease;
        font-family: inherit;
    }
    
    .country-input1:focus {
        border-color: #4299e1;
        box-shadow: 0 0 0 4px rgba(66, 153, 225, 0.15);
        outline: none;
    }
    
    .country-input1:hover {
        border-color: #cbd5e0;
    }
    
    .country-flag {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .country-flag .flag-icon {
        width: 24px;
        height: 18px;
        border-radius: 3px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    /* Modern Button */
    .modern-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 18px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
        letter-spacing: 0.3px;
        background: linear-gradient(135deg, #006E5C 0%,#6B8E45 50%,#D1AD32 100%);
       color: white;
        box-shadow: 0 4px 20px rgba(66, 153, 225, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .modern-btn:hover {
        background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(66, 153, 225, 0.4);
    }
    
    .modern-btn:active {
        transform: translateY(0);
    }
    
    .modern-btn svg {
        width: 20px;
        height: 20px;
    }
    
    /* Autocomplete Styling */
    .ui-autocomplete {
        max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden;
        border: 2px solid #e2e8f0;
        border-radius: 12px;
        background: white;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .ui-autocomplete li {
        padding: 12px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-bottom: 1px solid #f1f5f9;
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .ui-autocomplete li:last-child {
        border-bottom: none;
    }
    
    .ui-autocomplete li:hover {
        background: #f7fafc;
    }
    
    .ui-autocomplete li.ui-state-focus {
        background: #4299e1;
        color: white;
    }
    
    .ui-autocomplete li.ui-state-focus .flag-icon {
        filter: brightness(0) invert(1);
    }
    
    .ui-autocomplete .flag-icon {
        width: 24px;
        height: 18px;
        border-radius: 3px;
        flex-shrink: 0;
    }
    
    .ui-autocomplete .country-name {
        font-size: 14px;
        color: #4a5568;
    }
    
    .ui-autocomplete li.ui-state-focus .country-name {
        color: white;
    }
    
    /* Results Card */
    .result-card {
        border-radius: 16px;
        padding: 30px;
        margin-top: 25px;
        display: none;
        animation: slideIn 0.4s ease;
        border: 2px solid transparent;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .result-success {
        background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
        border-color: #38a169;
    }
    
    .result-warning {
        background: linear-gradient(135deg, #fffaf0 0%, #feebc8 100%);
        border-color: #dd6b20;
    }
    
    .result-error {
        background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
        border-color: #e53e3e;
    }
    
    .result-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin-bottom: 20px;
    }
    
    .result-success .result-icon {
        background: rgba(72, 187, 120, 0.2);
    }
    
    .result-warning .result-icon {
        background: rgba(237, 137, 54, 0.2);
    }
    
    .result-error .result-icon {
        background: rgba(245, 101, 101, 0.2);
    }
    
    .result-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .result-success .result-icon svg {
        color: #38a169;
    }
    
    .result-warning .result-icon svg {
        color: #dd6b20;
    }
    
    .result-error .result-icon svg {
        color: #e53e3e;
    }
    
    .result-title {
        font-size: 22px;
        font-weight: 700;
        margin: 0 0 15px 0;
    }
    
    .result-success .result-title {
        color: #276749;
    }
    
    .result-warning .result-title {
        color: #9c4221;
    }
    
    .result-error .result-title {
        color: #c53030;
    }
    
    .result-content {
        color: #4a5568;
        line-height: 1.7;
        margin-bottom: 20px;
        font-size: 15px;
    }
    
    .result-content strong {
        color: #2d3748;
        font-weight: 600;
    }
    
    .result-actions {
        margin-top: 25px;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 28px;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        cursor: pointer;
        font-family: inherit;
    }
    
    .action-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
        color: white;
        box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    }
    
    .btn-primary:hover {
        background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    }
    
    .btn-secondary {
        background: white;
        color: #4a5568;
        border-color: #e2e8f0;
    }
    
    .btn-secondary:hover {
        background: #f7fafc;
        border-color: #cbd5e0;
        transform: translateY(-2px);
    }
    
    /* Flag styling */
    .flag-icon {
        display: inline-block;
        width: 1.33333333em;
        line-height: 1em;
        background-size: contain;
        background-position: 50%;
        background-repeat: no-repeat;
        border-radius: 3px;
    }
    
    /* RTL Support */
    [dir="rtl"] .checker-header {
        text-align: right;
    }
    
    [dir="rtl"] .checker-title,
    [dir="rtl"] .checker-subtitle,
    [dir="rtl"] .form-group label,
    [dir="rtl"] .result-content {
        text-align: right;
    }
    
    [dir="rtl"] .action-btn {
        flex-direction: row-reverse;
    }
    
    [dir="rtl"] .country-input {
        padding: 16px 16px 16px 50px;
    }
    
    [dir="rtl"] .country-flag {
        right: auto;
        left: 16px;
    }
    
    [dir="rtl"] .ui-autocomplete li {
        flex-direction: row-reverse;
        text-align: right;
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .modern-checker-card {
            padding: 25px;
            margin: 1rem auto;
        }
        
        .checker-title {
            font-size: 24px;
        }
        
        .result-actions {
            flex-direction: column;
        }
        
        .action-btn {
            width: 100%;
            justify-content: center;
        }
        
        .country-input {
            padding: 14px 50px 14px 14px;
        }
        
        [dir="rtl"] .country-input {
            padding: 14px 14px 14px 50px;
        }

   
    }
 
    [dir="rtl"]  .ui-menu {
           display:flex;
              float:right;text-align:right;
            flex-direction:column;justify-content: flex-start;align-items:flex-start;
        }
    [dir="rtl"]     .ui-menu-item {
            float:right;text-align:right;
            flex-direction:row;justify-content: flex-start;align-items:flex-start;
        }
    [dir="rtl"] .ui-menu-item-wrapper {
            float:right;text-align:right;
            flex-direction:row;justify-content: flex-start;align-items:flex-start;
        }
    [dir="rtl"]     .ui-menu-wrapper {
            float:right;text-align:right;
            flex-direction:column;justify-content: flex-start;align-items:flex-start;
        }