.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
}

.popup label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

.popup input[type="text"],
.popup textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.popup .btn-guardar,
.popup .btn-cerrar {
    margin-top: 1.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup .btn-guardar {
    background-color: #f7b835;
    color: #fff;
    margin-right: 1rem;
}

.popup .btn-cerrar {
    background-color: #ccc;
    color: #333;
}

.btn-editar {
    background-color: #f7b835;
    color: #000;
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 5px;
    margin: 1rem 0;
    margin-left: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
