:root {
    --day-background: #ffffff; /* Světlé pozadí pro den */
    --night-background: #333333; /* Tmavé pozadí pro noc */
}

/* Small banner styles - 468x60 banners */
.small-banner {
    flex: 0 0 auto;
    width: 468px !important;
    height: 60px !important;
    overflow: hidden;
}

.small-banner img {
    width: 468px !important;
    height: 60px !important;
    object-fit: cover !important;
}

/* Styl pro den */
.day-banner {
    background: var(--day-background);
}

/* Styl pro noc */
.night-banner {
    background: var(--night-background);
}

/* Styl banner-container */
.banner-container {
    background: var(--day-background);
}

/* Tooltipy */
.tooltip {
    display: none;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.banner:hover .tooltip {
    display: block;
}

/* Akční tlačítka */
.banner a {
    background-color: #00ff00;
    color: white;
}

.banner a:hover {
    background-color: #00cc00;
}

/* Dynamické tlačítko */
.banner a.bg-blue-600:hover {
    background-color: #0056b3;
}

.banner a.bg-gray-700:hover {
    background-color: #505050;
}

/* Tlačítka */
.banner button {
    background-color: #00ff00;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.banner button:hover {
    background-color: #00cc00;
}

/* Responsivní design */
@media (max-width: 768px) {
    .w-\[728px\] {
        width: 100%;
        height: auto;
    }

    .banner-container {
        padding: 10px;
    }
    
    .flex.flex-wrap.justify-center.gap-4 {
        flex-direction: column;
        align-items: center;
    }
    
    .small-banner {
        margin-bottom: 10px;
    }
}

/* Styl pro ikony sociálních sítí */
.social-icon {
    display: inline-block;
    color: white;
}

.social-icon:hover {
    color: #facc15; /* Zlatavá barva na hover */
}

/* Styl pro přepínač režimu */
.theme-switcher {
    position: relative;
    width: 50px; 
    height: 25px; 
    background-color: #1e40af;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: auto;
}

.knob {
    width: 22px; 
    height: 22px;
    background-color: white;
    border-radius: 50%; 
}

.dark {
    background-color: #0f172a; /* Tmavě modrá místo černé */
    color: white; 
}

.dark .theme-switcher {
    background-color: #1f2937; 
}

.dark .knob {
    transform: translateX(25px); 
}

/* Styling pro footer */
footer {
    padding: 12px 0;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px; 
}

/* Vylepšení vzhledu kartiček */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive images */
img, iframe {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling globally */
html {
    scroll-behavior: smooth;
}

/* Tabulky */
table {
    border-collapse: collapse;
    width: 100%;
}

table th, table td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
}

table th {
    background-color: #f9fafb;
    font-weight: 600;
}

table tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Základní tlačítka */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-success {
    background-color: #10b981;
    color: white;
}

.btn-success:hover {
    background-color: #059669;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}