/* Match the existing state consultant pages, using their layout classes. */
.vfs-state-list-page {
    padding: 0 0 45px;
    background: #fff;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

.vfs-state-page-header .search-result-section {
    margin: 0;
    padding: 28px 0;
    background: #2d4b94;
}

.vfs-state-page-header .container-fluid {
    padding-right: 30px;
    padding-left: 30px;
}

.vfs-state-page-header h1 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4 !important;
}

.vfs-state-main-section { padding: 35px 0 10px; }
.vfs-state-wide-container { width: 100%; max-width: none; padding: 0 30px; }

.vfs-state-intro, .vfs-consultant-filter-box {
    margin: 0 0 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.vfs-state-intro { padding: 20px 25px; text-align: center; }
.vfs-state-intro h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.4 !important; }
.vfs-state-intro h2 i { color: #ca5b14; margin-right: 5px; }
.vfs-state-intro p { margin: 0; color: #000; font-size: 15px; line-height: 1.7; text-align: center; }

.vfs-agent-card {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 107px;
    margin: 0 0 20px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vfs-agent-card:hover { border-color: #ca5b14; box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08); }
.vfs-agent-logo { flex: 0 0 110px; height: 70px; display: flex; align-items: center; justify-content: center; }
.vfs-agent-logo img { width: auto; max-width: 100%; max-height: 60px; height: auto; object-fit: contain; margin: 0 auto; }
.vfs-agent-details { flex: 1 1 auto; min-width: 0; }
.vfs-agent-details h3 { margin: 0 0 7px; color: #000; font-size: 18px; font-weight: 700; line-height: 1.4 !important; }
.vfs-agent-details p { margin: 0; color: #555; font-size: 13px; line-height: 1.55; }
.vfs-agent-buttons { flex: 0 0 120px; text-align: center; }
.vfs-agent-buttons a {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    padding: 8px 10px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none;
}
.vfs-agent-buttons a:last-child { margin-bottom: 0; }
.vfs-view-button { background: #2d4b94; }
.vfs-view-button:hover, .vfs-view-button:focus { background: #1e3879; color: #fff; }
.vfs-guidance-button { background: #ca5b14; }
.vfs-guidance-button:hover, .vfs-guidance-button:focus { background: #b34a07; color: #fff; }

.vfs-filter-group + .vfs-filter-group { margin-top: 18px; }
.vfs-filter-group label { display: block; margin: 0 0 8px; color: #2c3e50; font-size: 16px; font-weight: 700; }
.vfs-filter-group .form-control {
    width: 100%;
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    color: #333;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-shadow: none;
}
.vfs-consultant-filter-box noscript .btn { margin-top: 16px; }
.vfs-no-consultant {
    padding: 16px 20px;
    margin: 0 0 20px;
    color: #245b79;
    background: #eaf6fb;
    border: 1px solid #c7e5f1;
    border-radius: 6px;
    font-size: 15px;
}
.consultant-category-pagination { display: flex; gap: 18px; align-items: center; margin: 20px 0; }

@media (max-width: 900px) {
    .vfs-state-page-header h1 { font-size: 20px; }
    .vfs-state-wide-container { padding-right: 20px; padding-left: 20px; }
    .vfs-state-intro { padding: 20px; }
}

@media (max-width: 767px) {
    .vfs-state-page-header .search-result-section { padding: 22px 15px; }
    .vfs-state-page-header .container-fluid { padding: 0; }
    .vfs-state-page-header h1 { font-size: 18px; line-height: 1.45 !important; }
    .vfs-state-main-section { padding-top: 25px; }
    .vfs-state-wide-container { padding-right: 15px; padding-left: 15px; }
    .vfs-state-intro { padding: 18px 15px; }
    .vfs-state-intro p { font-size: 14px; }
    .vfs-consultant-filter-box { padding: 16px; }
    .vfs-agent-card { flex-wrap: wrap; justify-content: center; text-align: center; padding: 18px 15px; }
    .vfs-agent-logo { flex-basis: 100%; height: 65px; }
    .vfs-agent-details { flex-basis: 100%; }
    .vfs-agent-buttons { flex-basis: 100%; max-width: 250px; }
    .consultant-category-pagination { flex-wrap: wrap; }
}
