/* Modal Styles */
.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
}

.edit-modal.show {
    display: flex;
}

.edit-modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.edit-modal h3 {
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
}

.edit-modal textarea {
    width: 100%;
    min-height: 200px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    margin-bottom: 20px;
}

.edit-modal input,
.edit-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 15px;
}

.edit-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.edit-modal-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.edit-modal-button.primary {
    background: var(--primary);
    color: white;
}

.edit-modal-button.secondary {
    background: #6c757d;
    color: white;
}

.edit-modal-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}