/* Category and Gallery Selector Modals */
/* Fifth Element Photography Admin */

.selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.selector-modal.active {
    display: flex;
}

.selector-modal-content {
    background: #2a2a2a;
    border: 1px solid #4a9eff;
    border-radius: 8px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.selector-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #444;
}

.selector-modal-header h3 {
    color: #4a9eff;
    font-size: 18px;
    margin: 0;
}

.selector-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.selector-modal-close:hover {
    color: #fff;
}

.selector-modal-body {
    margin-bottom: 20px;
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selector-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.selector-option:hover {
    background: #3a3a3a;
}

.selector-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.selector-option label {
    flex: 1;
    cursor: pointer;
    color: #ddd;
    font-size: 14px;
}

.selector-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #444;
}

.selector-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.selector-btn-cancel {
    background: #555;
    color: #ddd;
}

.selector-btn-cancel:hover {
    background: #666;
}

.selector-btn-save {
    background: #4a9eff;
    color: white;
}

.selector-btn-save:hover {
    background: #3a8eef;
}
