.przyciskTabela{
	margin: 5px !important;
}

/* Kontener formularza */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 25px 35px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* Nagłówek */
.form-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: left;
    color: #333;
}

/* Grupy pól */
.form-group {
    margin-bottom: 25px;
}

/* Etykiety */
.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #222;
}

/* Pola tekstowe */
.form-control {
    border-radius: 8px !important;
    padding: 10px 12px;
    font-size: 15px;
}

/* Select2 dopasowany do Bootstrapa */
.select2-container .select2-selection--single {
    height: 40px !important;
    padding: 5px 8px;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
}

.select2-container .select2-selection__rendered {
    line-height: 28px !important;
}

.select2-container .select2-selection__arrow {
    height: 34px !important;
    right: 8px !important;
}

/* TinyMCE – odstępy */
.wp-editor-wrap {
    margin-top: 5px;
}

.wp-editor-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Przycisk update */
.button-container {
    text-align: right;
    margin-top: 30px;
}

#update {
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 8px;
}

/* Hover efekt */
#update:hover {
    opacity: 0.9;
}

/* Responsywność */
@media (max-width: 576px) {
    .container {
        padding: 20px;
    }

    .form-title {
        font-size: 24px;
        text-align: center;
    }

    #update {
        width: 100%;
    }
}

/* Wyjustowanie tekstu w ciele tabeli */
#programsTable tbody td {
    text-align: justify;       /* wyjustowany tekst */
    vertical-align: top;       /* wyrównanie do góry, dla długich treści */
    word-wrap: break-word;     /* łamanie długich słów */
}

/* Opcjonalnie: odstępy w komórkach */
#programsTable tbody td {
    padding: 10px;
}

/* Styl nagłówków pozostaje wyśrodkowany lub domyślny */
#programsTable thead th {
    text-align: center;        /* lub left, jeśli wolisz */
}

.flag-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* LINK jako blok, aby nie rozsypywał układu */
.country-card-link {
    display: block;      /* block by mógł mieć width/height */
    text-decoration: none;
    color: inherit;
}

/* Wymuszamy, żeby anchor oraz karta rozciągały się na całą wysokość kolumny */
.col-12.col-md-3.d-flex {
/* już ustawione: d-flex w PHP; tu można dodać flex-direction jeśli potrzeba */
}
.country-card {
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    background: #fff;    /* opcjonalnie */
}

/* Hover — używamy selektora .country-card-link:hover .country-card */
.country-card-link:hover .country-card {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Kolor linków wewnątrz karty (jeśli są) */
.country-card-link a,
.country-card-link * {
    color: #000;
}

/* Zapobiegaj domyślnemu outline dla kliknięcia, ale zostaw dostępność (opcjonalnie) */
.country-card-link:focus {
    outline: none;
    /* możesz dodać :focus-visible style, jeśli chcesz dostępności */
}

.programme-hover {
    transition: all .25s ease;
}

.programme-hover:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.programmes-header{
    position: relative;
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 6px;
    margin-bottom: 20px;
    font-family: "Roboto", Sans-serif;
    color: var(--e-global-color-9c0e9cd);
}

.program-details{
    padding: 10px;
}

.program-details h3{
    font-size: 22px;
    font-weight: 500;
    font-family: "Roboto", Sans-serif;
    color: black;
    text-decoration: underline;
}

.program-details span{
    font-size: 20px;
    font-weight: 400;
    text-align: justify;
}