/* Βασική γραμματοσειρά για όλο το plugin */
.flags-grey-container,
.country-name,
.drawer-col-title,
.drawer-btn,
.prediction-icon span {
    font-family: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
.flags-grey-container {
    background: #1B3A62;
    border-radius: 5px;
    padding: 8px 12px;
    margin: 20px 0;
    border: 1px solid #1e4a76;
    position: relative;
}
.small-flags-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.small-flags-container {
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.small-flags-container::-webkit-scrollbar {
    display: none;
}
.small-flags-list {
    display: inline-flex;
    gap: 14px;
    padding: 6px 5px;
}
.flag-item-small {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: 70px;
    text-align: center;
    cursor: pointer;
}
/* Για τις δύο χώρες - πλάτος 100px και κεντράρισμα */
.flag-item-small[data-country="Netherlands"],
.flag-item-small[data-country="Switzerland"] {
    width: 100px !important;
    align-items: center !important;
}
/* Κεντράρισμα του ονόματος της χώρας */
.flag-item-small[data-country="Netherlands"] .country-name,
.flag-item-small[data-country="Switzerland"] .country-name {
    max-width: 100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.flag-img-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #f0f0f0;
    transition: box-shadow 0.2s;
}
.flag-item-small.active .flag-img-small {
    border: 2px solid #999;
    box-shadow: 0 0 6px 3px rgba(255, 255, 255, 0.25);
}
.flag-item-small:hover .flag-img-small {
    box-shadow: 0 0 6px 3px rgba(255, 255, 255, 0.25);
    transform: none;
}
.country-name {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    white-space: normal;
    word-break: keep-all;
    max-width: 70px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    transition: color 0.2s;
}
.flag-item-small:hover .country-name {
    color: #FE7E07;
}
.flag-item-small.active .country-name {
    color: #FE7E07;
}
.carousel-arrow {
    font-size: 64px;
    font-weight: 300;
    color: #FE7E07;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 30px;
    padding: 0;
    background: transparent !important;
    border: none !important;
    font-family: monospace;
    line-height: 1;
}
.carousel-arrow:hover {
    color: #ffaa55;
}
.carousel-arrow:active {
    color: #cc6600;
}
.country-drawer {
    background: #132945;
    border-radius: 5px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    padding: 0 16px;
}
.country-drawer.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 16px;
}
.league-drawer {
    background: #1B3A62;
    border-radius: 5px;
    margin-bottom: 16px;
    padding: 12px;
}
.league-drawer:last-child {
    margin-bottom: 0;
}
.league-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}
.league-logo {
    flex-shrink: 0;
    width: 85px;
    text-align: center;
}
.league-logo img {
    width: 100%;
    max-width: 85px;
    height: 85px;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    background: #fff;
    padding: 4px;
}
.league-logo.empty-logo {
    background: transparent;
    box-shadow: none;
}
.league-logo.empty-logo .logo-placeholder {
    width: 100%;
    max-width: 85px;
    height: 85px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px dashed #FE7E07;
}
.league-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.drawer-col {
    flex: 1;
    min-width: 160px;
    background: #0F1E2F;
    border-radius: 5px;
    padding: 12px;
    margin-left: 20px;
    transition: all 0.2s;
}
.drawer-col-title {
    font-size: 16px;
    font-weight: 600;
    color: #FE7E07;
    margin-bottom: 12px;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.small-flag-title {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    background: #fff;
}
.drawer-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.drawer-btn {
    background: #1B3A62;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}
.drawer-btn:hover {
    background: #D00C0F;
    color: #ffffff;
    transform: scale(1.02);
}
.drawer-btn:active {
    transform: scale(0.98);
}
.prediction-icons-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 15px 0 10px 0;
}
.prediction-icon {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0;
    transition: transform 0.2s ease;
    gap: 5px;
}
.prediction-icon i {
    font-size: 24px;
    color: #B7B7B7;
    margin-right: 8px;
}
.prediction-icon span {
    font-size: 15px;
    font-weight: 600;
    color: #B7B6B6;
    margin-bottom: 2px;
    display: inline-block;
    margin-right: 10px;
}
.prediction-icon:hover i,
.prediction-icon:hover span {
    color: #FE7E07;
}
@media (max-width: 600px) {
    .flag-img-small { width: 42px; height: 42px; }
    .flag-item-small { width: 60px; }
    .country-name { font-size: 10px; max-width: 60px; margin-top: 4px; }
    .carousel-arrow { font-size: 52px; min-width: 24px; }
    .small-flags-list { gap: 10px; padding: 5px 5px; }
    .flags-grey-container { padding: 6px 8px; border-radius: 10px; }
    .drawer-btn { padding: 5px 12px; font-size: 10px; border-radius: 6px; }
    .drawer-col-title { font-size: 14px; }
    .country-drawer { margin-top: 6px; }
    .league-wrapper { flex-direction: column; align-items: center; }
    .league-logo { margin-bottom: 10px; width: 70px; }
    .league-logo img, .league-logo.empty-logo .logo-placeholder { max-width: 70px; height: 70px; }
    .league-content { flex-direction: column; gap: 20px; width: 100%; }
    .drawer-col { width: 100%; }
    .small-flag-title { width: 18px; height: 18px; }
    .prediction-icons-row { gap: 15px; margin: 10px 0 5px 0; }
    .prediction-icon i { font-size: 20px; margin-right: 5px; }
    .prediction-icon span { font-size: 12px; margin-right: 6px; }
}