/* Import Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Apply Inter font family globally and make background full screen */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    /* New: Apply background gradient and min-height to body */
    min-height: 100vh;
    background-image: linear-gradient(to bottom right, #1a202c, #2d3748); /* Equivalent to from-gray-900 to-gray-800 */
}

/* Custom drop shadow for the title */
.drop_shadow-lg {
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Basic styling for the root element to ensure it takes full height */
/* Removed background and min-h-screen from here as it's now on body */
#root {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to the top */
    width: 100%; /* Ensure root takes full width */
}

/* Ensure images within cards are responsive */
.movie-card img {
    max-width: 100%;
    height: auto;
}

/* Style for the select dropdowns */
select {
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem; /* Make space for the custom arrow */
}

/* Focus styles for select */
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.5); /* Purple ring */
    border-color: #A855F7; /* Purple border */
}

/* Placeholder for no image found */
.movie-card img[src*="placehold.co"] {
    object-fit: contain; /* Ensure placeholder text is visible */
    background-color: #333333;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
}
