/* ==============================
   BASE GENERAL
============================== */
.tr-wrap {
    --main: #ff7a00;
    --dark: #1a1a1a;
    --soft: #f9f9f9;
    --radius: 16px;

    font-family: 'Poppins', system-ui, sans-serif;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    animation: trFadeUp .6s ease;
}

/* ==============================
   ANIMACIONES
============================== */
@keyframes trFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==============================
   CARD TOUR
============================== */
.tr-tour-card {
    background: linear-gradient(145deg, #ffffff, #f2f2f2);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
    transition: transform .4s ease, box-shadow .4s ease;
}

.tr-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 70px rgba(0,0,0,.12);
}

.tr-tour-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.tr-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--main);
    margin-bottom: 15px;
}

/* ==============================
   FORMULARIO
============================== */
.tr-tour-card form {
    margin-top: 25px;
    display: grid;
    gap: 15px;
}

.tr-tour-card label {
    font-weight: 500;
    font-size: .9rem;
    color: #555;
}

.tr-tour-card input {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: border .3s ease, box-shadow .3s ease;
}

.tr-tour-card input:focus {
    outline: none;
    border-color: var(--main);
    box-shadow: 0 0 0 3px rgba(255,122,0,.15);
}

/* ==============================
   BOTÓN
============================== */
.tr-btn,
.tr-tour-card button {
    background: linear-gradient(135deg, #ff9a00, #ff6a00);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 16px;
    font-size: 1.05rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform .3s ease, box-shadow .3s ease;
}

.tr-btn:hover,
.tr-tour-card button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(255,122,0,.4);
}


/* ===============================
   MIS RESERVAS - CONTENEDOR
================================ */
.tr-mis-reservas {
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
}

.tr-mis-reservas h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #0b5ed7;
}

/* ===============================
   CARD DE RESERVA
================================ */
.tr-reserva-item {
    background: linear-gradient(145deg, #ffffff, #f1f5ff);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    animation: trFadeUp .6s ease both;
    position: relative;
}

.tr-reserva-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #111;
}

.tr-reserva-item p {
    margin: 6px 0;
    font-size: 15px;
    color: #444;
}

.tr-reserva-item strong {
    color: #000;
}

/* ===============================
   ESTADO DE RESERVA
================================ */
.tr-reserva-item p:last-of-type {
    margin-top: 10px;
    font-weight: 600;
}

/* ===============================
   FORMULARIOS
================================ */
.tr-editar-form,
.tr-cancelar-form {
    margin-top: 20px;
}

.tr-editar-form label {
    display: block;
    font-weight: 600;
    margin-top: 12px;
}

.tr-editar-form input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 5px;
}

.tr-editar-form button {
    margin-top: 18px;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all .3s ease;
}

.tr-editar-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13,110,253,.4);
}

/* ===============================
   BOTÓN CANCELAR
================================ */
.tr-btn-cancelar {
    margin-top: 10px;
    background: linear-gradient(135deg, #dc3545, #b02a37);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all .3s ease;
}

.tr-btn-cancelar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220,53,69,.4);
}

/* ===============================
   ANIMACIONES
================================ */
@keyframes trFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .tr-reserva-item {
        padding: 18px;
    }

    .tr-mis-reservas h2 {
        font-size: 26px;
    }
}
