/* actor-management.css — Actor Page Styles */
.actors-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.actors-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.actors-controls input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #555;
    background: #2d2d2d;
    color: #d4d4d4;
    border-radius: 4px;
    font-size: 14px;
    flex: 1;
    min-width: 200px;
}

.actors-controls select {
    padding: 8px 12px;
    border: 1px solid #555;
    background: #2d2d2d;
    color: #d4d4d4;
    border-radius: 4px;
    font-size: 14px;
}

.actors-controls button {
    padding: 8px 16px;
    background: #2a1a3e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.actors-controls button:hover {
    background: #3a2354;
}

#actors-table-container {
    background: #252526;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 10px;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #4a9eff;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

#actor-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

#actor-modal.open {
    display: flex;
}

.modal-box {
    background: #252526;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 28px 32px;
    min-width: 420px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-box h2 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 18px;
}

.modal-box label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 4px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 7px 10px;
    background: #1e1e1e;
    border: 1px solid #555;
    border-radius: 4px;
    color: #d4d4d4;
    font-size: 14px;
    margin-bottom: 14px;
}

.modal-box textarea {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
    resize: vertical;
    min-height: 70px;
}

.modal-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #666;
    margin: 16px 0 8px;
    border-top: 1px solid #3a3a3a;
    padding-top: 12px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 6px;
}

.modal-actions button {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#save-actor-btn {
    background: #2a1a3e;
    color: #fff;
}

#save-actor-btn:hover {
    background: #3a2354;
}

#cancel-actor-btn {
    background: #3a3a3a;
    color: #d4d4d4;
}

#cancel-actor-btn:hover {
    background: #4a4a4a;
}

#actor-modal-error {
    color: #f48771;
    font-size: 13px;
    margin-bottom: 10px;
    display: none;
}

.btn-new-actor {
    background: #2d6a2d !important;
}

.btn-new-actor:hover {
    background: #3a7a3a !important;
}

.btn-vision-toggle {
    background: #0e639c !important;
}

.btn-vision-toggle:hover {
    background: #1177bb !important;
}

.btn-vision-toggle.active {
    background: #2a6a2a !important;
    box-shadow: 0 0 0 1.5px #4ec9b0;
}
