@media only screen and (max-width: 767px) {
    .px-4.py-5 {
        margin-top: -80px;
    }

    .star-icon {
        font-size: 10vw;
    }

    /* Dashboard mobile fixes */
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure cards don't overflow on mobile */
    .grid {
        overflow-x: hidden;
    }
    
    /* Fix dashboard grid spacing on mobile */
    .lg\\:grid-cols-3 {
        gap: 1rem;
    }
    
    /* Ensure action buttons wrap properly on mobile */
    .grid.sm\\:grid-cols-2.md\\:grid-cols-3 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    /* Fix table responsiveness */
    .min-w-full {
        min-width: auto;
        width: 100%;
    }
    
    /* Improve dropdown menu visibility on mobile */
    .z-50 {
        z-index: 9999;
    }
}

.datepicker-inline {
    width: 100%;
}

.datepicker table {
    width: 100%;
}

.clickable-card {
    position: relative;
    cursor: pointer;
}

.clickable-card .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    /* Make the anchor element invisible */
}

.social-proof {
    background: #d0f1bc;
    color: #000;
    padding: 5px;
    margin-top: 5px;
    margin-left: 5px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
    z-index: 900;
}

.carousel-control-prev,
.carousel-control-next {
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: linear-gradient(to right, rgba(34, 34, 34, 0.5), transparent); /* Adjust for .carousel-control-prev */
}

.carousel-control-next:hover {
    background: linear-gradient(to left, rgba(34, 34, 34, 0.5), transparent); /* Adjust for .carousel-control-next */
}

/* Optionally, control the gradient intensity and color */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(1.5); /* Makes arrows brighter on hover for more visibility */
}


.topbar {
    position: relative;
    z-index: 1000;
  }
  .navbar-container {
    position: sticky;
    top: 0;
    z-index: 999;
    border-top: 5px solid #0d6efd;
  }
/* Article prose content styling */
.prose h1 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: #111827 !important;
}

.prose h2 {
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.75rem !important;
    color: #1f2937 !important;
}

.prose h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #374151 !important;
}

.prose h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0.5rem !important;
    color: #4b5563 !important;
}

.prose p {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.75 !important;
    color: #374151 !important;
}

.prose a {
    color: #0d6efd !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}

.prose a:hover {
    color: #0a58ca !important;
}

.prose strong, .prose b {
    font-weight: 700 !important;
    color: #111827 !important;
}

.prose em, .prose i {
    font-style: italic !important;
}

.prose ul, .prose ol {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}

.prose ul {
    list-style-type: disc !important;
}

.prose ol {
    list-style-type: decimal !important;
}

.prose li {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.75 !important;
}

.prose blockquote {
    border-left: 4px solid #e5e7eb !important;
    padding-left: 1rem !important;
    margin: 1.5rem 0 !important;
    font-style: italic !important;
    color: #6b7280 !important;
}

.prose code {
    background-color: #f3f4f6 !important;
    padding: 0.125rem 0.25rem !important;
    border-radius: 0.25rem !important;
    font-size: 0.875em !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
}

.prose pre {
    background-color: #1f2937 !important;
    color: #f9fafb !important;
    padding: 1rem !important;
    border-radius: 0.5rem !important;
    overflow-x: auto !important;
    margin: 1.5rem 0 !important;
}

.prose pre code {
    background-color: transparent !important;
    padding: 0 !important;
    color: inherit !important;
}

.prose img {
    margin: 1.5rem 0 !important;
    border-radius: 0.5rem !important;
}

.prose hr {
    margin: 2rem 0 !important;
    border: 0 !important;
    border-top: 1px solid #e5e7eb !important;
}
