:root {
    --primary-color: #8e44ad; --secondary-color: #3498db; --dark-bg: rgba(30, 25, 65, 0.9);
    --text-color: #f1f1f1; --text-muted: #b0b0b0; --border-color: rgba(255, 255, 255, 0.2);
    --success-color: #2ecc71; --warning-color: #f39c12; --error-color: #e74c3c;
    --font-family: 'Poppins', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); background-color: #0c0a24; background-image: radial-gradient(at 15% 85%, hsla(212, 85%, 55%, 0.1) 0px, transparent 50%), radial-gradient(at 85% 15%, hsla(290, 85%, 55%, 0.1) 0px, transparent 50%); color: var(--text-color); display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px 10px; }
.container { width: 100%; max-width: 550px; background: rgba(30, 25, 65, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 25px; border-radius: 15px; border: 1px solid var(--border-color); box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); text-align: center; max-height: 95vh; overflow-y: auto; }
.logo { margin-bottom: 25px; } .logo img { max-width: 200px; height: auto; }
h1 { font-weight: 600; margin-bottom: 25px; font-size: 1.8em; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--border-color); margin-bottom: 25px; padding-bottom: 15px; }
.tabs button { padding: 12px 15px; background: none; border: none; color: var(--text-muted); font-family: var(--font-family); font-size: 1em; font-weight: 500; cursor: pointer; transition: all 0.3s ease; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button i { margin-right: 8px; } .tabs button.active { color: var(--text-color); border-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)) 1; }
.tab-content { display: none; } .tab-content.active { display: block; }
input[type="text"], input[type="number"], textarea { width: 100%; padding: 12px 15px; margin: 10px 0; background-color: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-color); font-family: var(--font-family); font-size: 1em; }
#movie, #series, #problem-movie-search, #banner-movie-search { cursor: pointer; }
input[type="submit"], .action-button, button[type="submit"] { width: 100%; padding: 15px; margin-top: 10px; border: none; border-radius: 8px; background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); background-size: 200%; color: white; font-family: var(--font-family); font-size: 1.1em; font-weight: 600; cursor: pointer; transition: all 0.4s ease; text-align: center; }
input[type="submit"]:hover, .action-button:hover, button[type="submit"]:hover { background-position: right; }
input[type="submit"]:disabled, .action-button:disabled, button[type="submit"]:disabled { background-image: none; background-color: #555; cursor: not-allowed; opacity: 0.6; }
.small-red-text { display: block; font-size: 0.8em; color: var(--text-muted); margin-top: 10px; }
.preview-container { margin-top: 20px; display: none; flex-direction: column; align-items: center; gap: 15px; }
.poster-preview { max-width: 150px; height: auto; border-radius: 8px; border: 2px solid var(--border-color); }
.synopsis-container { width: 100%; text-align: center; } .synopsis-container h3 { font-size: 1.1em; margin-bottom: 5px; } .synopsis-container p { font-size: 0.85em; color: var(--text-muted); max-height: 140px; overflow-y: auto; padding: 0 5px; text-align: justify; }
.search-container { margin: 20px 0; } .filter-buttons { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; } .filter-button { padding: 8px 15px; border: none; border-radius: 20px; color: white; cursor: pointer; font-size: 0.9em; transition: opacity 0.3s ease; } .filter-button:hover { opacity: 0.9; }
.pedido-list { max-height: 300px; overflow-y: auto; text-align: left; padding-right: 10px; } .pedido-item { display: flex; align-items: center; background: rgba(0, 0, 0, 0.2); padding: 10px; border-radius: 8px; margin-bottom: 10px; } .pedido-item img { width: 50px; height: 75px; object-fit: cover; border-radius: 5px; margin-right: 15px; } .pedido-item p { display: flex; align-items: center; width: 100%; } .pedido-item .status-text { flex-grow: 1; }
.pedido-item .copy-link { color: var(--secondary-color); cursor: pointer; font-size: 1.1em; text-decoration: none; font-weight: 600; margin-left: auto; padding-left: 10px; flex-shrink: 0; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 15px; } .modal-content { background: var(--dark-bg); padding: 25px; border-radius: 15px; border: 1px solid var(--border-color); width: 100%; max-width: 600px; position: relative; display: flex; flex-direction: column; max-height: 90vh; } .modal-close { position: absolute; top: 10px; right: 20px; font-size: 2.2em; font-weight: bold; color: var(--text-muted); cursor: pointer; line-height: 1; } #modal-search-results { margin-top: 20px; overflow-y: auto; flex-grow: 1; } .modal-result-item { display: flex; align-items: center; padding: 10px; border-bottom: 1px solid var(--border-color); cursor: pointer; } .modal-result-item:hover { background-color: rgba(255, 255, 255, 0.1); } .modal-result-item img { width: 50px; height: 75px; object-fit: cover; border-radius: 5px; margin-right: 15px; background-color: #333; } .modal-result-item span { font-size: 1.1em; color: var(--text-color); text-align: left; }
#loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; justify-content: center; align-items: center; z-index: 9999; flex-direction: column; }
.spinner { width: 60px; height: 60px; border: 5px solid rgba(255, 255, 255, 0.3); border-top-color: var(--secondary-color); border-radius: 50%; animation: spin 1s linear infinite; }
#loading-overlay p { color: var(--text-muted); margin-top: 20px; font-size: 1.1em; }
@keyframes spin { to { transform: rotate(360deg); } }
.updates-buttons-container { margin-top: 25px; display: flex; flex-direction: column; gap: 15px; }
pre.updates-content { background-color: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); border-radius: 8px; padding: 15px; text-align: left; white-space: pre-wrap; word-wrap: break-word; max-height: 50vh; overflow-y: auto; margin: 20px 0; font-family: monospace; font-size: 0.9em; }
@media (max-width: 600px) { .tabs button { font-size: 0.9em; padding: 10px 8px; } .container { padding: 20px 15px; } h1 { font-size: 1.6em; } }
.problem-details { display: none; margin-top: 15px; text-align: left; }
.problem-details label { display: block; margin-bottom: 5px; font-weight: 500; }
.problem-options-container { margin-bottom: 15px; } .problem-options-container label { display: block; margin-bottom: 8px; font-weight: 500; }
.problem-options-container > div { display: flex; flex-wrap: wrap; gap: 8px; }
.problem-option-btn { background-color: rgba(0, 0, 0, 0.3); border: 1px solid var(--border-color); color: var(--text-muted); padding: 6px 12px; font-size: 0.8em; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; }
.problem-option-btn:hover { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); }
.problem-option-btn:disabled { opacity: 0.5; cursor: not-allowed; background-color: var(--success-color); color: white; }
.message-box { padding: 12px; border-radius: 8px; margin-bottom: 20px; text-align: center; border-left: 5px solid; background-color: rgba(0,0,0,0.2); }
.message-box.success { border-color: var(--success-color); } .message-box.error { border-color: var(--error-color); }
#tab-banner-generator .action-button { margin-top: 10px; width: 100%; }
#banner-preview-area { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-color); }
#banner-preview-area h3 { margin-bottom: 10px; }
#banner-preview-area .fa-spinner { font-size: 2em; color: var(--secondary-color); }