.memorial-form-container {
    max-width: 650px;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(to bottom, #e4e6f7, #d0d3e8); /* Degradado */
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #5a5a5a;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.success-message {
    background-color: #2ecc71;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 15px;
}

.memorial-form label {
    font-weight: bold;
    display: block;
    margin-top: 12px;
    color: #5a5a5a;
}

.memorial-form input,
.memorial-form select,
.memorial-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    background-color: white;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.memorial-form input:focus,
.memorial-form select:focus,
.memorial-form textarea:focus {
    box-shadow: 0 0 10px rgba(142, 68, 173, 0.3);
    border-color: #8e44ad;
    outline: none;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.form-group {
    width: 48%;
}

.nombre-foto-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.nombre-foto-container .form-group {
    width: 48%;
}

.file-label {
    margin-top: 20px;
    font-weight: bold;
    color: #5a5a5a;
}

#preview-cabecera,
#preview-fondo {
    width: 100%;
    max-height: 200px;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 8px;
    background-color: #f5f5f5;
    text-align: center;
}

#preview-cabecera img,
#preview-fondo img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-preview-multiple img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 5px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* BOTÓN MEJORADO */
.submit-button {
    width: 100%;
    display: block;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    padding: 18px 0;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.5);
    transition: all 0.3s ease, transform 0.1s ease;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #a76ed1, #9b59b6);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(142, 68, 173, 0.6);
}

.submit-button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(142, 68, 173, 0.5);
}
