/* Main styles for DownGalaxy - YouTube Thumbnail Downloader */
/* Cache-Control: public, max-age=604800, immutable */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
    color: #1f2937; /* text-gray-800 */
}

/* Layout */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.min-h-screen {
    min-height: 100vh;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.w-full {
    width: 100%;
}

.h-auto {
    height: auto;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-6xl {
    max-width: 72rem;
}

/* Spacing */
.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-6 {
    margin-right: 1.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}

.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

/* Typography */
.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Colors */
.text-white {
    color: #ffffff;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-800 {
    color: #1f2937;
}

.text-blue-800 {
    color: #1e40af;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-red-500 {
    color: #ef4444;
}

.bg-white {
    background-color: #ffffff;
}

.bg-indigo-100 {
    background-color: #e0e7ff;
}

.bg-indigo-600 {
    background-color: #4f46e5;
}

.bg-indigo-700 {
    background-color: #4338ca;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

/* Borders */
.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-3 {
    border-width: 3px;
}

.border-4 {
    border-width: 4px;
}

/* Shadows */
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Focus */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.focus\:ring-indigo-500:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.focus\:border-transparent:focus {
    border-color: transparent;
}

/* Hover */
.hover\:bg-indigo-700:hover {
    background-color: #4338ca;
}

.hover\:text-indigo-800:hover {
    color: #3730a3;
}

/* Transitions */
.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Remove underline from links */
.no-underline, .no-underline:hover, .no-underline:focus, .no-underline:active {
    text-decoration: none !important;
}

/* Remove underlines from all links by default */
a {
    text-decoration: none;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

/* Custom components */
.hero-text {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #4b5563;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.grid-how-to {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

.how-to-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.how-to-item:hover {
    transform: translateY(-5px);
}

.how-to-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #e0e7ff;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.how-to-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #4f46e5;
}

.how-to-title {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.how-to-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Main thumbnail preview styles */
.thumbnail-preview-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
}

.main-thumbnail {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Desktop styles for main thumbnail */
@media (min-width: 769px) {
    .thumbnail-preview-container {
        max-width: 100%;
        padding: 0;
    }

    .main-thumbnail {
        border-radius: 0.5rem;
    }
}

/* Video info container */
#video-info {
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
}

#video-title {
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

#channel-name {
    color: #4b5563;
    font-weight: 500;
}

/* Thumbnail container styles */
.thumbnail-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.thumbnail-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.thumbnail-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

.thumbnail-container h3 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.thumbnail-container p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Button styles */
.gradient-button {
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    transition: all 0.3s ease;
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 6px rgba(71, 118, 230, 0.25);
    border: none;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    text-align: center;
    display: inline-block;
}

.gradient-button:hover {
    box-shadow: 0 6px 12px rgba(142, 84, 233, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(90deg, #3d68d8 0%, #7b46d1 100%);
}

.gradient-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(142, 84, 233, 0.4);
}

/* Download button specific styles */
.download-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .download-btn {
        padding: 0.875rem 1rem;
        font-size: 1.05rem;
    }
}

/* Loading animation */
.loader {
    border: 4px solid #e5e7eb;
    border-radius: 50%;
    border-top-color: #8E54E9;
    width: 3rem;
    height: 3rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade-in animation */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Line clamp utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.faq-question {
    width: 100%;
    text-align: left;
    font-weight: 500;
    color: #374151;
    padding: 0.875rem 1rem;
    background-color: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
    border: none;
    outline: none;
}

.faq-question:hover {
    background-color: #f3f4f6;
}

.faq-question span {
    flex: 1;
    padding-right: 0.5rem;
}

.faq-answer {
    background-color: white;
    line-height: 1.5;
    padding: 1rem;
    color: #4b5563;
    font-size: 0.95rem;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    margin: 0;
}

.faq-arrow {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.faq-arrow path {
    stroke: #6b7280;
    stroke-width: 2;
}

/* Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Width and height utilities */
.h-7 {
    height: 1.75rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-14 {
    height: 3.5rem;
}

.h-16 {
    height: 4rem;
}

.w-7 {
    width: 1.75rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-14 {
    width: 3.5rem;
}

.w-16 {
    width: 4rem;
}

.max-w-\[280px\] {
    max-width: 280px;
}

.min-w-\[160px\] {
    min-width: 160px;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Form label styles */
label[for="youtube-url"] {
    display: block;
    text-align: center;
    margin: 0 auto 1rem;
    font-weight: 600;
    color: #1f2937;
    position: relative;
}

label[for="youtube-url"]::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Input group - Modern search bar styles */
.input-group {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    transition: all 0.3s ease;
}

.input-group input {
    width: 100%;
    height: 50px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
    border-color: #8E54E9;
    box-shadow: 0 0 0 3px rgba(142, 84, 233, 0.2);
    outline: none;
}

.input-group input::placeholder {
    color: #9ca3af;
}

.input-group button {
    height: 50px;
    min-width: 160px;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 6px rgba(71, 118, 230, 0.25);
    transition: all 0.3s ease;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(142, 84, 233, 0.4);
}

.input-group button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(142, 84, 233, 0.4);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    /* FAQ styles for mobile */
    .faq-accordion {
        max-width: 100%;
    }

    .faq-item {
        margin-bottom: 0.5rem;
    }

    .faq-question {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    /* Form and input styles */
    .input-group {
        flex-direction: column;
        max-width: 90%;
        margin: 0 auto;
    }

    .input-group input {
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        text-align: center;
        font-size: 1rem;
        height: 55px;
    }

    .input-group button {
        border-radius: 0.75rem;
        width: 100%;
        height: 55px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }

    /* Center all content in mobile */
    .text-center-mobile {
        text-align: center !important;
    }

    /* Improve spacing in mobile */
    .container {
        padding: 1rem 1.25rem;
    }

    /* Better spacing for sections */
    .mb-8 {
        margin-bottom: 2rem;
    }

    .p-4 {
        padding: 1.25rem;
    }

    .p-6 {
        padding: 1.5rem;
    }

    /* Make thumbnails look better on mobile */
    .thumbnail-container {
        margin: 0 auto 1.5rem;
        max-width: 90%;
    }

    /* Improve main thumbnail on mobile */
    .thumbnail-preview-container {
        max-width: 220px; /* Even smaller thumbnail on mobile */
        padding: 0.75rem 1.25rem; /* More padding on sides to respect borders */
        margin: 0 auto 1.25rem;
        box-sizing: border-box; /* Ensure padding is included in width calculation */
    }

    .main-thumbnail {
        border-radius: 0.75rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #e5e7eb; /* Light border to define edges */
    }

    /* Improve video info spacing on mobile */
    div#video-info {
        padding: 1.5rem 1.25rem; /* More padding for better spacing */
        margin-bottom: 50px !important; /* Exactly 50px margin bottom - high priority */
        border-radius: 1rem; /* Rounder corners on mobile */
    }

    /* Match the spacing between sections */
    .grid {
        gap: 1.5rem; /* Slightly larger gap for better spacing */
    }

    /* Reset margin top since we're using margin-bottom on the section above */
    .mt-8 {
        margin-top: 0; /* Remove top margin since we have bottom margin on section above */
    }

    /* Improve spacing for thumbnail cards */
    .thumbnail-container {
        margin-bottom: 1.5rem;
    }

    #video-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    #channel-name {
        text-align: center;
        margin-bottom: 1rem;
    }

    /* Improve typography on mobile */
    .text-lg {
        font-size: 1.125rem;
        line-height: 1.6;
    }

    .text-xl {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .text-2xl {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    /* Improve grid spacing */
    .gap-4 {
        gap: 1.25rem;
    }

    .gap-6 {
        gap: 1.5rem;
    }

    /* Better rounded corners */
    .rounded-lg {
        border-radius: 0.75rem;
    }

    .rounded-xl {
        border-radius: 1rem;
    }
}

/* PC styles for search form */
@media (min-width: 769px) {
    .input-group {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .input-group input {
        border-radius: 0.75rem;
        flex: 1;
    }

    .input-group button {
        border-radius: 0.75rem;
        flex-shrink: 0;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:items-center {
        align-items: center;
    }

    .md\:justify-center {
        justify-content: center;
    }
    .md\:justify-start {
        justify-content: flex-start;
    }
    .md\:space-x-4 > * + * {
        margin-left: 1rem;
    }
    .md\:text-left {
        text-align: left;
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:w-1\/3 {
        width: 33.333333%;
    }
    .md\:w-2\/3 {
        width: 66.666667%;
    }
    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    .md\:mb-0 {
        margin-bottom: 0;
    }
    .md\:mb-2 {
        margin-bottom: 0.5rem;
    }
    .md\:mb-4 {
        margin-bottom: 1rem;
    }
    .md\:mb-6 {
        margin-bottom: 1.5rem;
    }
    .md\:mb-8 {
        margin-bottom: 2rem;
    }
    .md\:mb-10 {
        margin-bottom: 2.5rem;
    }
    .md\:mb-12 {
        margin-bottom: 3rem;
    }
    .md\:mt-0 {
        margin-top: 0;
    }
    .md\:mt-2 {
        margin-top: 0.5rem;
    }
    .md\:mt-3 {
        margin-top: 0.75rem;
    }
    .md\:mr-6 {
        margin-right: 1.5rem;
    }
    .md\:p-4 {
        padding: 1rem;
    }
    .md\:p-6 {
        padding: 1.5rem;
    }
    .md\:p-8 {
        padding: 2rem;
    }
    .md\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .md\:px-0 {
        padding-left: 0;
        padding-right: 0;
    }
    .md\:px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .md\:py-2\.5 {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .md\:h-8 {
        height: 2rem;
    }
    .md\:w-8 {
        width: 2rem;
    }
    .md\:h-10 {
        height: 2.5rem;
    }
    .md\:w-10 {
        width: 2.5rem;
    }
    .md\:h-12 {
        height: 3rem;
    }
    .md\:w-12 {
        width: 3rem;
    }
    .md\:h-16 {
        height: 4rem;
    }
    .md\:w-16 {
        width: 4rem;
    }
    .md\:min-w-\[160px\] {
        min-width: 160px;
    }
    .md\:whitespace-nowrap {
        white-space: nowrap;
    }
    .md\:max-w-none {
        max-width: none;
    }
    .md\:flex-shrink-0 {
        flex-shrink: 0;
    }
    .md\:gap-6 {
        gap: 1.5rem;
    }
    .md\:gap-8 {
        gap: 2rem;
    }
    .md\:my-12 {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

/* Tablet styles */
@media (min-width: 640px) and (max-width: 768px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Improve main thumbnail on tablets */
    .thumbnail-preview-container {
        max-width: 280px; /* Larger thumbnail on tablets */
        padding: 0.5rem 1rem;
        margin: 0 auto 1.5rem;
    }

    /* Improve video info spacing on tablets */
    div#video-info {
        padding: 1.5rem;
        margin-bottom: 50px !important; /* Keep the 50px margin on tablets */
    }

    /* Better spacing for thumbnail grid on tablets */
    .grid {
        gap: 1.5rem;
    }

    /* Improve thumbnail containers on tablets */
    .thumbnail-container {
        max-width: 85%;
    }
}

/* Critical Tailwind utilities */
.container {
    width: 100%;
}
@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-6 {
    margin-bottom: 1.5rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.ml-2 {
    margin-left: 0.5rem;
}
.mr-6 {
    margin-right: 1.5rem;
}

.flex {
    display: flex;
}
.grid {
    display: grid;
}
.hidden {
    display: none;
}

.h-7 {
    height: 1.75rem;
}
.h-8 {
    height: 2rem;
}
.h-10 {
    height: 2.5rem;
}
.h-14 {
    height: 3.5rem;
}
.w-7 {
    width: 1.75rem;
}
.w-8 {
    width: 2rem;
}
.w-10 {
    width: 2.5rem;
}
.w-14 {
    width: 3.5rem;
}
.w-full {
    width: 100%;
}

.max-w-2xl {
    max-width: 42rem;
}
.max-w-6xl {
    max-width: 72rem;
}

.flex-col {
    flex-direction: column;
}
.flex-shrink-0 {
    flex-shrink: 0;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-start {
    justify-content: flex-start;
}

.gap-2 {
    gap: 0.5rem;
}
.gap-4 {
    gap: 1rem;
}
.gap-6 {
    gap: 1.5rem;
}

.rounded {
    border-radius: 0.25rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}
.border-b {
    border-bottom-width: 1px;
}
.border-gray-300 {
    --tw-border-opacity: 1;
    border-color: rgba(209, 213, 219, var(--tw-border-opacity));
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
.bg-indigo-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(224, 231, 255, var(--tw-bg-opacity));
}
.bg-indigo-600 {
    --tw-bg-opacity: 1;
    background-color: rgba(79, 70, 229, var(--tw-bg-opacity));
}
.bg-blue-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(219, 234, 254, var(--tw-bg-opacity));
}
.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
}

.p-3 {
    padding: 0.75rem;
}
.p-4 {
    padding: 1rem;
}
.px-2\.5 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
}
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}
.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.font-medium {
    font-weight: 500;
}
.font-semibold {
    font-weight: 600;
}
.font-bold {
    font-weight: 700;
}

.text-white {
    --tw-text-opacity: 1;
    color: rgba(255, 255, 255, var(--tw-text-opacity));
}
.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgba(107, 114, 128, var(--tw-text-opacity));
}
.text-gray-600 {
    --tw-text-opacity: 1;
    color: rgba(75, 85, 99, var(--tw-text-opacity));
}
.text-gray-700 {
    --tw-text-opacity: 1;
    color: rgba(55, 65, 81, var(--tw-text-opacity));
}
.text-gray-800 {
    --tw-text-opacity: 1;
    color: rgba(31, 41, 55, var(--tw-text-opacity));
}
.text-blue-800 {
    --tw-text-opacity: 1;
    color: rgba(30, 64, 175, var(--tw-text-opacity));
}
.text-indigo-600 {
    --tw-text-opacity: 1;
    color: rgba(79, 70, 229, var(--tw-text-opacity));
}

.shadow {
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-shadow);
}
.shadow-md {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-shadow);
}
.shadow-lg {
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-shadow);
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.focus\:ring-2:focus {
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-indigo-500:focus {
    --tw-ring-opacity: 1;
    --tw-ring-color: rgba(99, 102, 241, var(--tw-ring-opacity));
}

.hover\:bg-indigo-700:hover {
    --tw-bg-opacity: 1;
    background-color: rgba(67, 56, 202, var(--tw-bg-opacity));
}

.transition {
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.transition-300 {
    transition-duration: 300ms;
}

/* Responsive utilities */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:text-left {
        text-align: left;
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:w-1\/3 {
        width: 33.333333%;
    }
    .md\:w-2\/3 {
        width: 66.666667%;
    }
    .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
    .md\:text-lg {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    .md\:text-2xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .md\:mb-0 {
        margin-bottom: 0;
    }
    .md\:mb-4 {
        margin-bottom: 1rem;
    }
    .md\:mb-6 {
        margin-bottom: 1.5rem;
    }
    .md\:mb-8 {
        margin-bottom: 2rem;
    }
    .md\:mb-12 {
        margin-bottom: 3rem;
    }
    .md\:mt-0 {
        margin-top: 0;
    }
    .md\:mt-2 {
        margin-top: 0.5rem;
    }
    .md\:p-4 {
        padding: 1rem;
    }
    .md\:p-6 {
        padding: 1.5rem;
    }
    .md\:p-8 {
        padding: 2rem;
    }
    .md\:py-6 {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .md\:px-0 {
        padding-left: 0;
        padding-right: 0;
    }
    .md\:py-2\.5 {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
    .md\:justify-start {
        justify-content: flex-start;
    }
    .md\:space-x-4 > * + * {
        margin-left: 1rem;
    }
    .md\:h-12 {
        height: 3rem;
    }
    .md\:w-12 {
        width: 3rem;
    }
    .md\:h-16 {
        height: 4rem;
    }
    .md\:w-16 {
        width: 4rem;
    }
    .md\:h-8 {
        height: 2rem;
    }
    .md\:w-8 {
        width: 2rem;
    }
    .md\:min-w-\[160px\] {
        min-width: 160px;
    }
    .md\:whitespace-nowrap {
        white-space: nowrap;
    }
    .md\:max-w-none {
        max-width: none;
    }
}
