/* Country flag styles - të njëjtat si në list view */
.country-flag {
    display: inline-block;
    width: 20px;
    height: 15px;
    margin-right: 8px;
    background-size: cover;
    background-position: center;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.country-al,
.country-alb {
    background-image: url("https://flagcdn.com/al.svg");
    background-size: cover;
    background-position: center;
    background-color: transparent;
}

.country-bih {
    background: linear-gradient(to bottom, #002395 0%, #002395 33%, #fff 33%, #fff 66%, #002395 66%, #002395 100%);
    position: relative;
}

.country-bih:after {
    content: "";
    position: absolute;
    top: 33%;
    left: 0;
    right: 0;
    height: 33%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: 
        linear-gradient(90deg, transparent 35%, #fecb00 35%, #fecb00 65%, transparent 65%),
        linear-gradient(0deg, transparent 35%, #fecb00 35%, #fecb00 65%, transparent 65%);
}

.country-mne {
    background-color: #c40308; /* Red for Montenegro */
    position: relative;
}

.country-mne:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #ffcc00; /* Gold for star */
    border-radius: 50%;
}

.country-nmk {
    background: radial-gradient(circle, #d20000 40%, transparent 41%),
                linear-gradient(to bottom, #ff0000, #ff0000 33%, #ffcc00 33%, #ffcc00 66%, #ff0000 66%, #ff0000);
}

.country-kos {
    background: linear-gradient(to bottom, #244aa5 0%, #244aa5 33%, #fff 33%, #fff 66%, #244aa5 66%, #244aa5 100%);
    position: relative;
}

.country-kos:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ffcc00;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #244aa5;
}

.country-srb {
    background: linear-gradient(to bottom, #c6363c 0%, #c6363c 33%, #0c4076 33%, #0c4076 66%, #fff 66%, #fff 100%);
}

/* Butoni back *
//* Butoni me ngjyrë blu si titulli h2 dhe tekst të bardhë */
.btn-back-to-list {
    background-color: #417690; /* Ngjyrë blu e Django admin */
    color: white !important;
    border: 1px solid #417690;
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 20px;
    transition: background-color 0.2s ease;
}

.btn-back-to-list:hover {
    background-color: #205067; /* Ngjyrë blu më e errët */
    color: white !important;
    text-decoration: none;
}