/* 🌟 Fondo animado degradado */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1abc9c, #16a085, #0072ff);
    background-size: 300% 300%;
    animation: gradientBG 8s ease infinite;
    margin: 0;
    padding: 0;
    color: #fff;
}

/* 🎨 Animación del fondo */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ✅ Header con brillo neón */
header {
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px #00f2fe, 0 0 20px #00c6ff;
    box-shadow: 0 0 15px rgba(0,255,255,0.4);
    animation: pulse 2s infinite alternate;
}

/* ✨ Efecto pulso */
@keyframes pulse {
    0% { text-shadow: 0 0 10px #00f2fe; }
    100% { text-shadow: 0 0 20px #00e676; }
}

/* ✅ Contenedor con efecto vidrio */
.container {
    width: 90%;
    margin: 30px auto;
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    animation: fadeIn 1s ease-in-out;
}

/* ✅ Tablas con estilo elegante */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}
th {
    background: rgba(0,255,255,0.2);
    color: #fff;
    padding: 12px;
    text-shadow: 0 0 5px #00e6ff;
}
td {
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s ease;
}
tr:hover td { background: rgba(0,255,255,0.1); }

/* ✅ Botones con efecto Glow y Rebote */
.btn, .btn-edit, .btn-delete, .btn-remove {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
    transition: 0.3s ease-in-out;
    position: relative;
    animation: bounce 3s infinite;
}
.btn:hover, .btn-edit:hover, .btn-delete:hover, .btn-remove:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #fff, 0 0 25px #00f2fe;
}

/* ✅ Colores de Botones */
.btn { background: linear-gradient(45deg, #00f2fe, #0072ff); }
.btn-edit { background: linear-gradient(45deg, #00ff87, #32ff7e); }
.btn-delete { background: linear-gradient(45deg, #ff4b2b, #ff416c); }
.btn-remove { background: linear-gradient(45deg, #ff9800, #ff5722); }

/* ✅ Animación de Rebote */
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ✅ Estados dinámicos con efecto Flash */
td span {
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    animation: flash 1.5s infinite alternate;
    transition: background 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

/* 🎯 Colores animados de Estados */
td span.green { background: #00ff7f; box-shadow: 0 0 15px #00ff7f; }
td span.red { background: #ff1744; box-shadow: 0 0 15px #ff1744; }
td span.orange { background: #ff9800; box-shadow: 0 0 15px #ff9800; }

/* ✨ Animación Flash */
@keyframes flash {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* ✅ Responsive */
@media (max-width: 768px) {
    table { font-size: 12px; }
    .btn { width: 100%; margin-bottom: 5px; }
}
/* 🌟 Fondo degradado animado */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #00f2fe, #4facfe, #0072ff);
    background-size: 300% 300%;
    animation: gradientBG 8s infinite alternate;
    margin: 0;
    padding: 0;
    color: white;
}
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ✅ Encabezado */
header {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 10px #00e6ff;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* ✅ Formulario Glass */
.form-container {
    width: 40%;
    margin: 40px auto;
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-container h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00f2fe;
}

/* ✅ Inputs Modernos */
input[type="text"], input[type="number"], input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 14px;
    transition: 0.3s;
}
input:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
    outline: none;
}

/* ✅ Botón con Efecto Neón */
.btn-submit {
    width: 100%;
    background: linear-gradient(45deg, #00f2fe, #0072ff);
    padding: 12px;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,242,254,0.4);
}
.btn-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00e6ff;
}

/* ✅ Botón Volver */
.btn-back {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    border-radius: 8px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}
.btn-back:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #ff9800;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .form-container { width: 90%; }
}
/* 🌟 Mensaje flotante de éxito */
.mensaje-exito {
    position: fixed;
    top: 20px;
    right: -400px;
    background: linear-gradient(45deg, #00f2fe, #0072ff);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,242,254,0.6);
    font-weight: bold;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    text-shadow: 0 0 5px #fff;
}

/* Estado visible */
.mensaje-exito.mostrar {
    right: 20px;
    opacity: 1;
}
/* Color general de las filas de la tabla */
table td {
    color: #2c3e50; /* Azul oscuro elegante */
}

/* Color especial para el nombre del cliente */
table td.nombre-cliente {
    color: #0072ff; /* Azul brillante */
    font-weight: bold;
}

/* Color especial para el nombre de la alpaca */
table td.alpaca-nombre {
    color: #e67e22; /* Naranja bonito */
    font-weight: bold;
}
.badge-reservada {
    background: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}
