/* Visa Guide Widget - Frontend Styles */

.vgw-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 900px;
    margin: 28px auto;
    color: #1a1a1a;
}

/* Header */
.vgw-widget-header {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 20px;
    padding: 18px 20px;
    background: #f7f8fa;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
}
.vgw-passport-flag {
    width: 56px;
    border-radius: 5px;
    border: 1px solid #ddd;
    flex-shrink: 0;
}
.vgw-widget-title {
    margin: 0 0 4px !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    border: none !important;
}
.vgw-widget-sub {
    margin: 0 !important;
    font-size: 13px;
    color: #777;
}

/* Sections */
.vgw-section {
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}
.vgw-blue   { border: 2px solid #378ADD; background: #f0f7fd; }
.vgw-amber  { border: 2px solid #d4820a; background: #fdf5e6; }
.vgw-green  { border: 2px solid #4a9e2f; background: #f2f8e8; }

.vgw-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.vgw-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
}
.vgw-blue  .vgw-section-badge { background: #c5dff7; color: #0C447C; }
.vgw-amber .vgw-section-badge { background: #fde4a8; color: #633806; }
.vgw-green .vgw-section-badge { background: #c8e6a0; color: #27500A; }

.vgw-section-count {
    background: rgba(0,0,0,0.12);
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 12px;
}
.vgw-section-sub {
    font-size: 12px;
    color: #888;
}

/* Country Grid */
.vgw-country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 8px;
}

/* Country Card */
.vgw-country-card {
    display: flex;
    align-items: center;
    gap: 9px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 7px;
    padding: 9px 12px;
    height: 42px;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.vgw-country-card:hover {
    border-color: rgba(0,0,0,0.2);
}
.vgw-country-card img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.08);
    flex-shrink: 0;
}
.vgw-country-card span {
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Disclaimer */
.vgw-disclaimer {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e8e8e8;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 600px) {
    .vgw-country-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
    .vgw-country-card { font-size: 12px; padding: 8px 10px; }
    .vgw-widget-title { font-size: 16px !important; }
    .vgw-widget-header { gap: 12px; padding: 14px 16px; }
    .vgw-passport-flag { width: 44px; }
}
