/* movies.css */

/* General page style */
body {
    background: #f7eddd;  /* same as main page */
    color: #4b443b;
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 70px;  /* leave space for navbar */
}

/* Container with two columns */
.container {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin-top: 0; /* already handled by body padding */
}

/* Left column: main movie */
.left-column {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right column: up next movies */
.right-column {
    flex: 1;
}

/* Main movie card */
.main-movie {
    background: #c5b6a0;  /* matches main page card */
    color: #4b443b;
    padding: 20px;
    border-radius: 12px;
}

/* Thumbnail */
.thumbnail {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

/* Movie title */
.movie-title {
    font-weight: bold;
    margin-top: 10px;
    color: #4b443b;
}

/* Movie description */
.description {
    margin-top: 10px;
    color: #4b443b;
}

/* Watchlist button */
button.watchlist-btn {
    background: #4b443b;  /* featured-box color */
    border: none;
    border-radius: 12px;
    padding: 5px 12px;
    color: #f7eddd;
    cursor: pointer;
    float: right;
}

/* Up next container */
.up-next {
    background: #c5b6a0;  /* same as card */
    color: #4b443b;
    padding: 20px;
    border-radius: 12px;
    max-height: 600px;
    overflow-y: auto;
}

/* Each up next item */
.up-next-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #4b443b;
    color: #f7eddd;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

/* Hover effect for better UX */
.up-next-item:hover {
    background: #7d7d7d;
}

/* Thumbnail inside up next item */
.up-next-item img {
    width: 50px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

/* Up next title inside item */
.up-next-item span {
    font-size: 14px;
    font-weight: bold;
    color: #f7eddd;
}