/* ===== RESERVAS STYLES ===== */

/* Custom Reservas Header */
.reservas-header-custom {
    background: #000;
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.reservas-header-custom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #8B5CF6;
}

.reservas-nav-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 1rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-item.active .nav-indicator {
    width: 20px;
    height: 2px;
    background: white;
    position: relative;
}

.nav-item.active .nav-indicator::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.nav-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-item a:hover {
    color: #ccc;
}

.reservas-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ad0b0d;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.reservas-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-image-custom {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.logo-image-custom:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.3));
    transform: scale(1.05);
}

.logo-text-custom {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ad0b0d;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.3s ease;
}

.logo-container:hover .logo-text-custom {
    color: #8a090b;
    text-shadow: 0 0 5px rgba(173,11,13,0.3);
}

/* New Hero Section - Matching the Design */
.reservas-hero-new {
    background: white;
    min-height: calc(100vh - 80px);
}

.hero-header {
    background: #000;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.help-text {
    font-size: 0.8rem;
    color: #ccc;
}

.hero-title {
    font-size: 2rem;
    font-weight: 900;
    color: #ad0b0d;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 4px;
}

.logo-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.hero-content-new {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-main {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-text {
    text-align: center;
    width: 100%;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 400;
    color: #ad0b0d;
    margin: 0;
    font-family: 'Georgia', serif;
    font-style: italic;
}

.search-form-new {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem auto 2rem 10%;
    max-width: 1000px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: flex-start;
}

.search-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 60px;
    gap: 0.75rem;
    align-items: end;
    width: 100%;
    max-width: 650px;
}

.search-field-new {
    position: relative;
    display: flex;
    flex-direction: column;
}

.search-field-new:has(#guests) {
    position: relative;
}

.search-field-new label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
    text-align: left;
}

.search-field-new input,
.search-field-new select {
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-field-new input:focus,
.search-field-new select:focus {
    outline: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.search-field-new i {
    position: absolute;
    right: 1rem;
    top: 2.2rem;
    color: #666;
    pointer-events: none;
}

/* New Guests Dropdown */
.guests-dropdown-new {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
    margin-top: 0.5rem;
}

.guests-dropdown-new.show {
    display: block;
}

.guests-dropdown-new .guest-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.guests-dropdown-new .guest-type:last-child {
    margin-bottom: 0;
}

.guests-dropdown-new .guest-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guests-dropdown-new .guest-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.guests-dropdown-new .guest-btn:hover {
    border-color: #ad0b0d;
    background: #f8f9fa;
}

.guests-dropdown-new .guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guests-dropdown-new .guest-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.search-btn-new {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #ad0b0d;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(173,11,13,0.3);
    margin-top: 1.2rem;
}

.search-btn-new:hover {
    background: #8a090b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173,11,13,0.4);
}

.hero-actions {
    position: absolute;
    top: 3rem;
    right: 2rem;
}

.btn-mis-reservas-new {
    background: #ad0b0d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(173,11,13,0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-mis-reservas-new:hover {
    background: #8a090b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173,11,13,0.4);
    color: white;
}

.btn-mis-reservas-new.active {
    background: #8a090b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173,11,13,0.4);
    color: white;
}

.btn-mis-reservas-new.active:hover {
    background: #6d0709;
}

@media (max-width: 768px) {
    .hero-actions {
        position: static;
        margin: 1.5rem auto 0;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .btn-mis-reservas-new {
        position: static;
        width: 100%;
        max-width: 260px;
        justify-content: center;
        border-radius: 28px;
        padding: 0.9rem 1.5rem;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
        transform: none;
    }

    .btn-mis-reservas-new:hover,
    .btn-mis-reservas-new.active {
        transform: translateY(-2px);
    }
}

/* Destinations Section */
.destinations-new {
    padding: 0 2rem 3rem 2rem;
    background: white;
    margin-top: -150px;
}

.destinations-new h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 3rem;
}

.destinations-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.destination-card-new {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.destination-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(173,11,13,0.1) 0%, rgba(173,11,13,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.destination-card-new:hover::before {
    opacity: 1;
}

.destination-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.destination-card-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card-new:hover img {
    transform: scale(1.05);
}

/* Estilos para videos de hover */
.hover-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.destination-card-new:hover .hover-video {
    opacity: 1;
}

.destination-card-new:hover img {
    opacity: 0;
    transform: scale(1.05);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
    z-index: 2;
}

.destination-overlay h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0 0 1rem 0;
}

.click-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.destination-card-new:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
}

.click-indicator i {
    color: #ad0b0d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reservas-header-custom {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .reservas-nav-left {
        flex-direction: row;
        gap: 2rem;
        margin-left: 0;
        justify-content: center;
    }
    
    .reservas-title {
        position: static;
        transform: none;
        font-size: 2rem;
        margin: 1rem 0;
    }
    
    .reservas-logo {
        align-items: center;
        justify-content: center;
    }
    
    .logo-container {
        align-items: center;
    }
    
    .logo-image-custom {
        height: 40px;
    }
    
    .logo-text-custom {
        font-size: 0.7rem;
    }
    
    .hero-content-new {
        padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .search-form-new {
        padding: 1.5rem;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-btn-new {
        width: 100%;
        height: 50px;
        border-radius: 10px;
    }
    
    .hero-actions {
        position: static;
        text-align: center;
        margin-top: 2rem;
    }
    
    .destinations-grid-new {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .destination-card-new {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .search-form-new {
        padding: 1rem;
    }
    
    .destinations-new h2 {
        font-size: 2rem;
    }
}

/* Hero Section - Original (keeping for compatibility) */
.reservas-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reservas-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.reservas-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reservas-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 2;
}

.reservas-hero .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.reservas-hero .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.reservas-hero .hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Search Section */
.search-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 4;
}

.search-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 1000px;
}

.search-form {
    width: 100%;
}

.search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.search-field input,
.search-field select {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #ad0b0d;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.guests-selector {
    position: relative;
}

.guests-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
    display: none;
}

.guests-dropdown.show {
    display: block;
}

.guest-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.guest-type:last-child {
    margin-bottom: 0;
}

.guest-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-btn {
    width: 30px;
    height: 30px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guest-btn:hover {
    border-color: #ad0b0d;
    background: #f8f9fa;
}

.guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guest-count {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.search-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* Results Section */
.results-section {
    padding: 3rem 0;
    background: white;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.results-filters select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Property Capacity Info */
.property-capacity {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.capacity-info,
.beds-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.capacity-info i,
.beds-info i {
    color: #ad0b0d;
    font-size: 0.8rem;
}

.capacity-info {
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
}

.beds-info {
    background: #fff3cd;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    border: 1px solid #ffeaa7;
}

/* Filter Rules in Help Modal */
.filter-rules {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.filter-rule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ad0b0d;
}

.guest-count {
    background: #ad0b0d;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.arrow {
    color: #ad0b0d;
    font-weight: bold;
    font-size: 1.2rem;
}

.room-type {
    color: #333;
    font-weight: 500;
    flex: 1;
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ad0b0d;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.property-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.amenity-tag {
    background: #f8f9fa;
    color: #666;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.property-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ad0b0d;
}

.price-period {
    font-size: 0.9rem;
    color: #666;
}

.book-btn {
    background: #ad0b0d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.book-btn:hover {
    background: #8a090b;
    transform: translateY(-1px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.booking-modal-content {
    max-width: 600px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #aaa;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 2rem;
}

/* Booking Form */
.booking-form {
    display: grid;
    gap: 1.5rem;
}

.form-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ad0b0d;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.booking-summary {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid #007bff;
    padding-top: 0.5rem;
    margin-top: 1rem;
}

.payment-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #ad0b0d;
    background: #f8f9fa;
}

.payment-method.selected {
    border-color: #ad0b0d;
    background: #e3f2fd;
}

.submit-booking {
    background: linear-gradient(135deg, #ad0b0d 0%, #8a090b 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(173,11,13,0.3);
}

.submit-booking:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message h2 {
    color: #333;
    margin-bottom: 1rem;
}

.success-message p {
    color: #666;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .reservas-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .search-form-container {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
}

.form-group .error-text {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Active state for navigation */
.btn-reservas.active {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.btn-mis-reservas.active {
    background: #ad0b0d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

/* Help Modal Styles */
.help-content {
    max-width: 600px;
}

.help-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ad0b0d;
}

.help-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.help-section ol,
.help-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.help-section li {
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    color: #333;
}

.contact-info i {
    color: #ad0b0d;
    width: 20px;
    text-align: center;
}

/* ===== MIS RESERVAS STYLES ===== */

/* Mis Reservas Section */
.mis-reservas-section {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 60vh;
    margin-top: 2rem;
    transition: all 0.3s ease;
    opacity: 1;
}

.mis-reservas-section[style*="display: none"] {
    opacity: 0;
    transform: translateY(20px);
}

/* Consulta de Reservas Styles */
.consulta-reservas-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.consulta-header {
    text-align: center;
    margin-bottom: 2rem;
}

.consulta-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.consulta-title i {
    font-size: 2rem;
    color: #ad0b0d;
}

.consulta-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ad0b0d;
    margin: 0;
}

.consulta-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.consulta-form-container {
    margin-bottom: 2rem;
}

.consulta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ad0b0d;
    box-shadow: 0 0 0 3px rgba(173, 11, 13, 0.1);
}

.btn-consultar {
    background: #ad0b0d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-consultar:hover {
    background: #8a090b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173,11,13,0.4);
}

.consulta-info {
    margin-bottom: 2rem;
}

.info-box {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box i {
    color: #1976d2;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-content h4 {
    margin: 0 0 0.5rem 0;
    color: #1976d2;
    font-size: 1.1rem;
}

.info-content p {
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* Resultado de consulta */
.consulta-result {
    margin-top: 2rem;
}

.loading-result {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.loading-result i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ad0b0d;
}

.reserva-encontrada {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid #28a745;
}

.reserva-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.reserva-header h3 {
    margin: 0;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.estado-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.estado-badge.confirmada {
    background: #d4edda;
    color: #155724;
}

.estado-badge.pendiente {
    background: #fff3cd;
    color: #856404;
}

.estado-badge.cancelada {
    background: #f8d7da;
    color: #721c24;
}

.reserva-details {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.detail-row .label {
    font-weight: 600;
    color: #666;
}

.detail-row .value {
    color: #333;
    font-weight: 500;
}

.detail-row .value.precio {
    color: #ad0b0d;
    font-weight: 700;
    font-size: 1.1rem;
}

.reserva-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-modificar, .btn-cancelar {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-modificar {
    background: #007bff;
    color: white;
}

.btn-modificar:hover {
    background: #0056b3;
}

.btn-cancelar {
    background: #dc3545;
    color: white;
}

.btn-cancelar:hover {
    background: #c82333;
}

.reserva-no-encontrada {
    text-align: center;
    padding: 2rem;
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 10px;
}

.reserva-no-encontrada i {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.reserva-no-encontrada h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.sugerencias {
    text-align: left;
    margin: 1.5rem 0;
    background: white;
    padding: 1rem;
    border-radius: 6px;
}

.sugerencias h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.sugerencias ul {
    margin: 0;
    padding-left: 1.5rem;
}

.sugerencias li {
    color: #666;
    margin-bottom: 0.25rem;
}

.btn-reintentar {
    background: #ad0b0d;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-reintentar:hover {
    background: #8a090b;
}

/* Reservas Section */
.reservas-section {
    padding: 3rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.reservas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.reservas-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.reservas-filters select {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-size: 0.9rem;
}

.reservas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.booking-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.booking-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.booking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-upcoming {
    background: #ad0b0d;
    color: white;
}

.status-current {
    background: #007bff;
    color: white;
}

.status-past {
    background: #6c757d;
    color: white;
}

.status-cancelled {
    background: #dc3545;
    color: white;
}

.booking-content {
    padding: 1.5rem;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.booking-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.booking-id {
    font-size: 0.8rem;
    color: #666;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

.booking-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.date-item i {
    color: #ad0b0d;
}

.booking-guests {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.booking-guests i {
    color: #ad0b0d;
}

.booking-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ad0b0d;
}

.price-details {
    font-size: 0.9rem;
    color: #666;
}

.booking-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-info {
    background: #17a2b8;
    color: white;
}

.btn-info:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* No Reservas State */
.no-reservas {
    text-align: center;
    padding: 4rem 2rem;
}

.no-reservas-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-reservas-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.no-reservas-content p {
    color: #666;
    margin-bottom: 2rem;
}

/* Modify Booking Form */
.modify-booking-form {
    max-width: 600px;
}

.modify-booking-form h2 {
    color: #333;
    margin-bottom: 1rem;
}

.booking-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.booking-info h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.booking-info p {
    margin: 0;
    color: #666;
}

.modify-summary {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.modify-summary h3 {
    margin-bottom: 1rem;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 600;
}

.modify-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Cancel Booking Form */
.cancel-booking-form {
    max-width: 500px;
}

.cancel-booking-form h2 {
    color: #dc3545;
    margin-bottom: 1rem;
}

.cancellation-policy {
    background: #fff3cd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ffc107;
}

.cancellation-policy h3 {
    margin-bottom: 1rem;
    color: #856404;
}

.cancellation-policy ul {
    margin: 0;
    padding-left: 1.5rem;
}

.cancellation-policy li {
    margin-bottom: 0.5rem;
    color: #856404;
}

.refund-info {
    background: #d4edda;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
}

.refund-info h3 {
    margin-bottom: 1rem;
    color: #155724;
}

.refund-info p {
    margin: 0.5rem 0;
    color: #155724;
}

.cancel-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Booking Details */
.booking-details {
    max-width: 600px;
}

.booking-details h2 {
    color: #333;
    margin-bottom: 2rem;
}

.booking-info-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.booking-info-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.info-item {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item strong {
    color: #333;
    display: inline-block;
    min-width: 120px;
}

/* Responsive Design for Mis Reservas */
@media (max-width: 768px) {
    .reservas-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-dates {
        grid-template-columns: 1fr;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .modify-actions,
    .cancel-actions {
        flex-direction: column;
    }
    
    .summary-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .booking-content {
        padding: 1rem;
    }
    
    .booking-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .booking-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Estilos para precios desglosados de Unique Mine */
.price-breakdown {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #e9ecef;
}

.price-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f3f4;
}

.price-detail:last-child {
    border-bottom: none;
}

.price-detail.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: #ad0b0d;
    border-top: 2px solid #ad0b0d;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.price-value {
    color: #333;
    font-weight: 600;
}

.property-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.spec-item i {
    color: #ad0b0d;
    width: 16px;
}

/* Estilos para precios pendientes */
.price-pending {
    color: #ff6b35 !important;
    font-style: italic;
    font-size: 1.1rem;
}

.price-pending + .price-period {
    color: #666;
    font-size: 0.8rem;
}
