﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-top: 0;
}

h1 {
    font-size: 1.85rem;
}

h2 {
    font-size: 1.6rem;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.2rem;
}

h5 {
    font-size: 1.05rem;
}

h6 {
    font-size: 0.95rem;
}

/* Globální nebo lokální CSS třída */
.hide-scrollbar {
    /* Skrýt scrollbar pro IE/Edge */
    -ms-overflow-style: none;
    /* Skrýt scrollbar pro Firefox */
    scrollbar-width: none;
}

    /* Skrýt scrollbar pro Chrome, Safari a Operu */
    .hide-scrollbar::-webkit-scrollbar {
        display: none;
        width: 0; /* Zajištění nulové šířky */
        height: 0;
    }

.rz-dialog .rz-button {
    background-color: #ff007f !important;
    color: white !important;
}

/* Boční dialog (např. sidebar dialog) – nižší vrstva */
.rz-dialog-side-content {
    position: fixed !important;
    z-index: 1500 !important;
}

/* Hlavní dialog (Confirm, Open apod.) – vyšší vrstva */
.rz-dialog, .rz-dialog-wrapper {
    position: fixed !important;
    z-index: 2000 !important;
}

/* Pozadí (overlay) pod hlavním dialogem */
.rz-overlay {
    z-index: 1999 !important;
}

/* Cílí na navigační tlačítka Radzen Carousel a skryje je. */
.rz-carousel-arrow {
    display: none !important;
}

.alert-pink {
    color: #333333; /* tmavě šedý text */
    background-color: #f0f0f0; /* světlé šedé pozadí */
    border-color: #d9d9d9; /* středně šedý rámeček */
}

/* Přepis barvy pro VŠECHNY btn-primary */
.btn-primary {
    background-color: #ff007f !important;
    border-color: #ff007f !important;
    color: white !important;
}

    .btn-primary:hover {
        background-color: #d1006a !important;
        border-color: #d1006a !important;
    }

.notifications-scroll-area {
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
}

    .notifications-scroll-area::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }


.alert-pink hr {
    border-top-color: #cccccc; /* oddělovač ve světlejší šedé */
}

.alert-pink .alert-link {
    color: #1a1a1a; /* téměř černý odkaz */
}

/* CSS styl pro tlaèítka ve stavu "disabled" */
.btn-disabled {
    pointer-events: none;
    opacity: 1.0;
}

.btn-logout {
    color: white; /* bílý text */
    border: 1px solid white; /* bílý okraj */
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-logout:hover {
        background-color: #ff007f; /* růžové pozadí */
        color: #ffffff; /* bílý text */
        text-decoration: none;
        border-color: #ff007f; /* růžový okraj na hover */
    }

/*.app-header {
    text-align: center;*/
/*background: linear-gradient(to right, #ff007f 0%, #ff007f 100%);*/
/*color: black;
    padding: 1rem 1rem;*/
/*border-radius: 8px 8x 0 0;*/
/*box-shadow: 0 4px 20px rgba(255, 0, 127, 0.3);*/
/*border: 1px solid #e9ecef;
    7 border-radius: 4px;*/ /* volitelné, zaoblení rohů */
/*min-height: 80px;
}*/

.app-header {
    text-align: center;
    background: transparent;
    color: #1a1a1a;
    padding: 1rem 1rem;
    /*border-radius: 8px 8x 0 0;*/
    /*box-shadow: 0 4px 20px rgba(255, 0, 127, 0.3);*/
    min-height: 80px;
    font-weight: 700;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    letter-spacing: -0.3px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

/* Čistá hlavička pro vložené widgety (TeamDetail.razor taby atd.) —
   stejný "moderní" styl jako na /clubs, bez růžového pozadí .app-header.
   Sdílená třída napříč TeamInfoComponent, TeamChat, Messages, AbsenceList,
   TeamsPolls, Notifications, Transactions — jedna změna tady platí všude. */
.widget-header-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    margin-bottom: 0;
}

/* Přidání nové třídy pro černé pozadí */
.btn-black-background {
    background-color: black !important;
    color: white !important;
    border-color: black;
}

    .btn-black-background i {
        color: #ff007f; /* Barva ikony */
    }


/* Skrýt sloupce na mobilních zaøízeních */
@media (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }
    /* Nastaví automatickou šíøku pro sloupce na mobilních zaøízeních */
    .hide-on-mobile-column {
        width: auto;
    }

    mobile-column {
        width: auto !important;
    }
}

/* Sloupce pro mobilní zaøízení */
@media (max-width: 767px) {
    .mobile-column-auto {
        width: 200px;
    }
}



h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Animace pro loading text */
.loading-text::after {
    content: ".";
    animation: loading-dots 1s infinite;
    font-weight: bold;
}

@keyframes loading-dots {
    0%, 20% {
        content: ".";
    }

    40% {
        content: "..";
    }

    60%, 100% {
        content: "...";
    }
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }



/* Globální proměnná pro barvu pozadí */
:root {
    --hr-bg-color: #ffffff; /* Vaše světlá/bílá barva pozadí */
    --hr-line-color: #818078;
}

.hr-text {
    /* STICKY NASTAVENÍ */
    position: sticky; /* Přilepí prvek */
    top: 0; /* K hornímu okraji (na 0px) */
    z-index: 10; /* Zajistí, že se starý a nový prvek při setkání překryjí */
    /* POZADÍ A PŘEKRYTÍ */
    background-color: var(--hr-bg-color); /* Klíčové: Plné bílé pozadí pro čisté překrytí celého prostoru */
    opacity: 1; /* Musí být 1, aby se zajistilo čisté překrytí */
    /* Původní styly */
    line-height: 1em;
    outline: 0;
    border: 0;
    color: black;
    text-align: center;
    height: 1.5em;
    width: 100%;
    min-width: 100%;
}

    .hr-text::before {
        /* ČÁRA A JEJÍ MIZENÍ */
        content: '';
        /* Ponecháme původní gradient pro vizuální mizení čáry na krajích. */
        background: linear-gradient(to right, transparent, var(--hr-line-color), transparent);
        position: absolute;
        display: inline-block;
        left: 0;
        top: 50%;
        width: 100%;
        min-width: 100%;
        height: 1px;
        /* Nižší z-index, aby byla čára pod textem (::after) */
        z-index: 0;
    }

    .hr-text::after {
        /* TEXT (NÁZEV MĚSÍCE) */
        content: attr(data-content);
        position: relative;
        display: inline-block;
        /* PŘEKRYTÍ ČÁRY POD TEXTEM */
        background-color: var(--hr-bg-color); /* Klíčové: Bílé pozadí zakrývá čáru pod textem */
        z-index: 1; /* Vyšší z-index, aby byl text PŘED čárou */
        /* Původní styly */
        padding: 0 .5em;
        line-height: 1.5em;
        color: var(--hr-line-color);
    }

.container_menu {
    margin-left: 10px;
    margin-right: 10px;
    width: 100%;
}

footer {
    background-color: #212529;
    color: #6c757d;
    text-align: center;
    padding: 2px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 45px;
}

.velky-nadpis {
    font-size: 3em; /* Upravte velikost podle potøeby */
    /* Další možné styly */
    color: white; /* Barva vnitøního textu */
    /*text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;*/
}

.stredni-nadpis {
    /* Další možné styly */
    color: #ff007f; /* Barva vnitøního textu */
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

/*@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap");*/


.backgrounded-header h2 {
    font-family: "Montserrat Medium";
    max-width: 40ch;
    text-align: center;
    transform: scale(0.94);
    animation: scale 3s forwards cubic-bezier(0.5, 1, 0.89, 1);
}

@keyframes scale {
    100% {
        transform: scale(1);
    }
}

.backgrounded-header span {
    display: inline-block;
    opacity: 0;
    filter: blur(4px);
}

    .backgrounded-header span:nth-child(1) {
        animation: fade-in 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(2) {
        animation: fade-in 0.8s 0.2s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(3) {
        animation: fade-in 0.8s 0.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(4) {
        animation: fade-in 0.8s 0.4s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(5) {
        animation: fade-in 0.8s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(6) {
        animation: fade-in 0.8s 0.6s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(7) {
        animation: fade-in 0.8s 0.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(8) {
        animation: fade-in 0.8s 0.8s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(9) {
        animation: fade-in 0.8s 0.9s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(10) {
        animation: fade-in 0.8s 1s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(11) {
        animation: fade-in 0.8s 1.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(12) {
        animation: fade-in 0.8s 1.2s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(13) {
        animation: fade-in 0.8s 1.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(14) {
        animation: fade-in 0.8s 1.4s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(15) {
        animation: fade-in 0.8s 1.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(16) {
        animation: fade-in 0.8s 1.6s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(17) {
        animation: fade-in 0.8s 1.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

    .backgrounded-header span:nth-child(18) {
        animation: fade-in 0.8s 1.8s forwards cubic-bezier(0.11, 0, 0.5, 0);
    }

@keyframes fade-in {
    100% {
        opacity: 1;
        filter: blur(0);
    }
}





/*sponzors*/
@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.8));
    }
}

@keyframes lineGlow {
    0% {
        box-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(255,255,255,0.9);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

body {
    background-image: none !important;
    background-color: #f8f9fa !important;
}

.main-title {
    margin: 0;
    margin-bottom: 1rem;
    text-decoration: underline;
    text-decoration-color: #ff007f;
}

.required {
    color: #e74c3c;
}


.title-gradient {
    /*color: #ff007f;*/
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    }

    100% {
        filter: drop-shadow(0 0 20px rgba(255,255,255,0.8));
    }
}

.subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-weight: 400;
}

.decorative-line {
    width: 100px;
    height: 4px;
    background: #ff007f;
    margin: 0 auto;
    border-radius: 2px;
}

@keyframes lineGlow {
    0% {
        box-shadow: 0 0 5px rgba(255,255,255,0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(255,255,255,0.9);
    }
}

.content-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.loading-container {
    text-align: center;
    padding: 4rem 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #ff007f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #6c757d;
    font-size: 1.2rem;
    font-weight: 400;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6c757d;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.stats-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
    color: #ff007f;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.sponsor-card {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .sponsor-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(255,0,127,0.2);
        border-color: #ff007f;
    }

.card-background {
    display: none;
}

.card-content {
    position: relative;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
}

.avatar-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #ff007f;
    opacity: 0.8;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    border: 3px solid white;
    transition: transform 0.3s ease;
}

.sponsor-card:hover .avatar-image {
    transform: scale(1.1);
}

.avatar-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 50%;
    border: 3px solid white;
    z-index: 2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

.supporter-info {
    color: #333;
}

.supporter-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #ff007f;
}

.supporter-badge {
    background: #ff007f;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(255,0,127,0.3);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,0,127,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.sponsor-card:hover .card-overlay {
    opacity: 1;
}

.sponsor-card:hover .overlay-content {
    margin-top: 150px;
    opacity: 1;
}




.overlay-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 500px;
    width: 90%;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

    .modal-close:hover {
        color: #ff007f;
    }

.modal-header {
    margin-bottom: 2rem;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.modal-header h2 {
    margin: 0;
    color: #ff007f;
    font-size: 2rem;
    font-weight: 700;
}

.modal-body p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.thank-you-animation {
    font-size: 3rem;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .header-section {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1rem;
    }
}

/* ── Language switcher – emoji vlajka ─────────────────────────── */
.language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 4px;
    transition: transform 0.15s ease, background 0.15s ease;
    user-select: none;
    vertical-align: middle;
}

    .language-flag:hover {
        transform: scale(1.15);
        background: rgba(255, 255, 255, 0.12);
    }

.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}

#language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 6px 0;
    min-width: 120px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

    #language-dropdown.show {
        display: block;
    }

    #language-dropdown button,
    #language-dropdown a {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 7px 14px;
        background: none;
        border: none;
        color: #fff;
        font-size: 0.88rem;
        cursor: pointer;
        text-align: left;
        white-space: nowrap;
        text-decoration: none;
    }

        #language-dropdown button:hover,
        #language-dropdown a:hover {
            background: rgba(255, 0, 127, 0.18);
            color: #ff007f;
        }
