body {
    font-family: Arial, sans-serif;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #f4f4f4;
}

h1, h2 {
    color: #333;
}

form {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.03);
}

/* Lista de filmes */
.filme-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #ccc;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.filme-poster {
    width: 100px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.filme-info {
    flex-grow: 1;
}

.filme-info h3 {
    margin-top: 0;
    color: #007bff;
    font-size: 1.2em;
}

.filme-info p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Botões específicos */
.btn-trailer {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 10px;
    background-color: #ff0000;
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.2s;
    font-size: 0.85em;
}

.btn-trailer:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.btn-remover {
    background-color: #dc3545;
    font-size: 0.85em;
    padding: 6px 12px;
    border-radius: 4px;
}

.btn-remover:hover {
    background-color: #c82333;
    transform: scale(1.05);
}

/* Estado vazio */
#lista-filmes p {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-top: 30px;
}

/* Responsividade */
@media (max-width: 600px) {
    .filme-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .filme-poster {
        width: 70%;
        height: auto;
        margin-bottom: 10px;
    }
}
