.iron-search-wrapper {
    position: relative;
    width: 60%;
    direction: rtl;
}

.iron-search-input {
    width: 100%;
    padding: 7px 10px !important;
    border-radius: 10px !important;
    border: 1px solid #033a88 !important;
    font-size: 14px !important;
    transition: .2s;
    color: #000 !important;
    box-sizing: border-box;
}

.iron-search-input:focus {
    outline: none;
    border-color: #033a88;
    box-shadow: 0 0 0 3px rgba(3,58,136,.1);
}

.iron-search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .25s ease;
    z-index: 99;
}

.iron-search-results.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.iron-results-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.iron-search-results table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.iron-search-results th {
    background: #033a88;
    color: #fff;
    padding: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.iron-search-results td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    vertical-align: middle;
}

.iron-search-results tr:hover td {
    background: #f5f8ff;
}

.iron-search-results a {
    color: #033a88;
    text-decoration: none;
    font-weight: 500;
}

.iron-empty,
.iron-loading-state {
    min-height: 120px;
    padding: 24px;
    text-align: center;
    color: #666;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.iron-loading-text {
    font-size: 13px;
    color: #033a88;
}

.iron-title {
    font-weight: 500;
    color: #033a88;
}

.iron-pagination {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px;
    background: #f9fbff;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.iron-pagination::-webkit-scrollbar {
    display: none;
}

.iron-page {
    flex: 0 0 auto;
    padding: 6px 12px;
    border-radius: 8px;
    background: #e8eeff;
    color: #033a88;
    cursor: pointer;
    font-size: 13px;
    transition: .2s;
    border: none;
    line-height: 1.6;
}

.iron-page:hover,
.iron-page:focus {
    background: #033a88;
    color: #fff;
    outline: none;
}

.iron-page.active {
    background: #033a88;
    color: #fff;
    pointer-events: none;
}

.iron-agent {
    text-align: right;
    white-space: nowrap;
}

.iron-agent-link {
    font-size: 18px;
    text-decoration: none;
    margin: 0 4px;
}

.iron-agent-link:hover {
    transform: scale(1.2);
}

.iron-close-btn {
    position: absolute;
    top: 10px;
    left: 12px;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    color: #033a88;
    z-index: 30;
    line-height: 1;
}

.iron-close-btn.iron-close-light {
    color: #fff;
}

.iron-close-btn:hover {
    transform: scale(1.2);
}

.iron-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.iron-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(3,58,136,0.2);
    border-top: 4px solid #033a88;
    border-radius: 50%;
    animation: ironSpin 0.8s linear infinite;
}

@keyframes ironSpin {
    to { transform: rotate(360deg); }
}

.iron-open-agents {
    background: #033a88;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.iron-open-agents:hover,
.iron-open-agents:focus {
    color: #fff;
    outline: none;
}

.iron-agents-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    direction: rtl;
}

.iron-agents-box {
    background: #fff;
    width: 500px;
    max-width: calc(100vw - 24px);
    max-height: 80vh;
    overflow: auto;
    border-radius: 14px;
    padding: 20px;
    position: relative;
}

.iron-agents-box table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px !important;
    overflow: hidden;
}

.iron-agents-box th {
    background: #033a88;
    color: #fff;
    padding: 10px;
}

.iron-agents-box td {
    font-size: 13px;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.iron-agent-profile-btn {
    background: #033a88;
    color: #fff !important;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

.iron-agent-profile-btn:hover {
    color: #fff;
}

.iron-agents-close {
    position: absolute;
    top: 8px;
    left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.iron-phone-link {
    color: #033a88;
    font-weight: 500;
    text-decoration: none;
}

.iron-phone-link:hover {
    text-decoration: underline;
}

.iron-vat-toggle {
    position: absolute;
    top: -34px;
    left: 0;
    background: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    font-size: 12px;
    display: none;
    z-index: 100;
}

.iron-vat-toggle label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

@media (max-width: 768px) {
    .iron-search-wrapper {
        width: 100%;
    }

    .iron-search-results table {
        min-width: 560px;
    }
}
