/* Custom styles for BBG Event Manager */

/* Add custom styles here to override or extend Flowbite styles */

/* Responsive breakpoints */
/* Small (sm): 640px and up */
/* Medium (md): 768px and up */
/* Large (lg): 1024px and up */
/* Extra Large (xl): 1280px and up */
/* 2XL: 1536px and up */

/* Base styles for all screen sizes */
/*html {*/
/*    font-size: 16px;*/
/*}*/

/*body {*/
/*    overflow-x: hidden;*/
/*}*/

/*.container {*/
/*    width: 100%;*/
/*    padding-left: 1rem;*/
/*    padding-right: 1rem;*/
/*    margin-left: auto;*/
/*    margin-right: auto;*/
/*}*/

/*!* Small screens (mobile) *!*/
/*@media (max-width: 640px) {*/
/*    html {*/
/*        font-size: 14px;*/
/*    }*/

/*    h1 {*/
/*        font-size: 1.5rem !important;*/
/*    }*/

/*    h2 {*/
/*        font-size: 1.25rem !important;*/
/*    }*/

/*    .container {*/
/*        padding-left: 0.75rem;*/
/*        padding-right: 0.75rem;*/
/*    }*/

/*    .flex-col-sm {*/
/*        flex-direction: column !important;*/
/*    }*/

/*    .w-full-sm {*/
/*        width: 100% !important;*/
/*    }*/

/*    .text-center-sm {*/
/*        text-align: center !important;*/
/*    }*/

/*    .mb-4-sm {*/
/*        margin-bottom: 1rem !important;*/
/*    }*/


/*}*/

/*!* Medium screens (tablet) *!*/
/*@media (min-width: 641px) and (max-width: 1023px) {*/
/*    .container {*/
/*        max-width: 768px;*/
/*    }*/
/*}*/

/*!* Large screens (desktop) *!*/
/*@media (min-width: 1024px) {*/
/*    .container {*/
/*        max-width: 1024px;*/
/*    }*/
/*}*/

/*!* Extra large screens *!*/
/*@media (min-width: 1280px) {*/
/*    .container {*/
/*        max-width: 1280px;*/
/*    }*/
/*}*/

/*!* Dark mode improvements *!*/
/*.dark body {*/
/*    color: #e5e7eb;*/
/*}*/

/*!* Custom colors *!*/
/*.bbg-primary {*/
/*    color: #2563eb;*/
/*}*/

/*.bbg-primary-bg {*/
/*    background-color: #2563eb;*/
/*}*/

/*!* Status badges *!*/
/*.status-badge {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    padding: 0.25rem 0.5rem;*/
/*    border-radius: 0.25rem;*/
/*    font-size: 0.75rem;*/
/*    font-weight: 500;*/
/*}*/

/*!* Custom animations *!*/
/*.hover-scale {*/
/*    transition: transform 0.3s ease;*/
/*}*/

/*.hover-scale:hover {*/
/*    transform: scale(1.05);*/
/*}*/

/*!* Card improvements *!*/
/*.event-card {*/
/*    transition: all 0.3s ease;*/
/*    width: 100%;*/
/*}*/

/*.event-card:hover {*/
/*    transform: translateY(-5px);*/
/*    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);*/
/*}*/

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Markdown content styling */
.markdown-content {
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.markdown-content h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #111827;
}

.markdown-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.markdown-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.markdown-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.markdown-content p {
    margin-bottom: 1rem;
}

.markdown-content ul, 
.markdown-content ol {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.markdown-content ul {
    list-style-type: disc;
}

.markdown-content ol {
    list-style-type: decimal;
}

.markdown-content li {
    margin-bottom: 0.25rem;
}

.markdown-content a {
    color: #2563eb;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    margin-bottom: 1rem;
}

.markdown-content code {
    background-color: #f3f4f6;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: monospace;
    font-size: 0.875rem;
}

.markdown-content pre {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.875rem;
}

.markdown-content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    overflow-x: auto;
    display: block;
}

.markdown-content table th {
    background-color: #f3f4f6;
    font-weight: 600;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
}

.markdown-content table td {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
}

.markdown-content table tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Dark mode for markdown content */
.dark .markdown-content h1,
.dark .markdown-content h2,
.dark .markdown-content h3,
.dark .markdown-content h4 {
    color: #f9fafb;
}

.dark .markdown-content a {
    color: #3b82f6;
}

.dark .markdown-content blockquote {
    border-left-color: #4b5563;
}

.dark .markdown-content code {
    background-color: #374151;
}

.dark .markdown-content pre {
    background-color: #1f2937;
}

.dark .markdown-content table th {
    background-color: #374151;
    border-color: #4b5563;
}

.dark .markdown-content table td {
    border-color: #4b5563;
}

.dark .markdown-content table tr:nth-child(even) {
    background-color: #1f2937;
}


/* Horizontal scrolling container */
.spielrunde-search-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Hide scrollbar for webkit browsers but keep functionality */
.spielrunde-search-container::-webkit-scrollbar {
    height: 6px;
}

.spielrunde-search-container::-webkit-scrollbar-track {
    background: transparent;
}

.spielrunde-search-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.spielrunde-search-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Dark mode scrollbar */
.dark .spielrunde-search-container::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark .spielrunde-search-container::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
