/* ========================================= */
/* LA VINIA – MODAL WINDOWS                  */
/* Separated from global to avoid conflicts  */
/* ========================================= */

.lv-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.lv-modal.open {
    display: flex;
}

.lv-modal-box {
    background: radial-gradient(circle at top left, #1a1a1a 0, #090909 55%);
    border: 1px solid rgba(213,165,70,0.35);
    border-radius: 18px;
    padding: 2rem 2rem 1.5rem 2rem;
    width: 95%;
    max-width: 420px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
    position: relative;
    animation: modalUp 0.3s ease-out;
}

.lv-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 1.7rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}

.lv-modal-close:hover {
    color: #d5a546;
}

/* ========================================= */
/* FORM ELEMENTS                             */
/* ========================================= */

.lv-modal-title {
    font-family:"Times New Roman",serif;
    letter-spacing:0.18em;
    color:#d5a546;
    text-align:center;
    text-transform:uppercase;
    margin-bottom:1.4rem;
}

.lv-modal-box label {
    font-size:0.85rem;
    color:#bbb;
    margin-top:0.6rem;
    display:block;
}

.lv-modal-box input {
    width:100%;
    padding:0.6rem 0.7rem;
    margin:0.35rem 0 0.8rem 0;
    border-radius:8px;
    border:1px solid #333;
    background:#050505;
    color:#f5f5f5;
}

/* ========================================= */
/* BUTTONS                                   */
/* ========================================= */

.lv-btn {
    width:100%;
    border-radius:999px;
    border:1px solid rgba(213,165,70,0.8);
    background: radial-gradient(circle at top,#d5a546 0,#8a5b16 60%,#1c140a 100%);
    padding:0.7rem 1rem;
    margin-top:0.7rem;
    text-transform:uppercase;
    cursor:pointer;
    font-size:0.9rem;
}

.lv-btn:hover {
    transform: scale(1.02);
}

.lv-btn-cancel {
    width:100%;
    margin-top:0.6rem;
    border-radius:999px;
    padding:0.6rem 1rem;
    background:#222;
    border:1px solid #444;
    color:#ddd;
    cursor:pointer;
    font-size:0.85rem;
}

.lv-btn-cancel:hover {
    background:#333;
}

/* ========================================= */
/* MESSAGE BOXES                              */
/* ========================================= */

.lv-modal-msg {
    border-radius: 10px;
    padding: 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
    animation: fadeIn 0.3s;
}

.lv-modal-msg.success {
    background: rgba(60,140,60,0.15);
    color: #9eff9e;
    border: 1px solid rgba(60,200,60,0.6);
}

.lv-modal-msg.error {
    background: rgba(200,70,70,0.15);
    color: #ff9999;
    border: 1px solid rgba(255,80,80,0.7);
}
