/* Enhanced Package Details Modal - Clean Modern Design */

/* Modal Container */
.package-details-modal .modal-dialog {
    max-width: 520px;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.package-details-modal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: #ffffff;
}

/* Modal Header - Clean Solid Color */
.modal-header-simple {
    background: #1e3a8a;
    color: white;
    padding: 32px 28px 28px;
    position: relative;
    border-bottom: 4px solid #fbbf24;
}

.modal-header-simple .btn-close {
    position: absolute;
    right: 18px;
    top: 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    opacity: 1;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* Hot Badge in Header */
.hot-badge-header {
    position: absolute;
    right: 0;
    bottom: -2px;
    z-index: 5;
}

.hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fff3cd;
    color: #dc2626;
    padding: 5px 12px;
    border-radius: 20px 0 0 0;
    font-size: 12px;
    font-weight: 700;
    animation: pulse 2s infinite;
    box-shadow: -2px -2px 8px rgba(220, 38, 38, 0.15);
}

.hot-badge i {
    font-size: 12px;
    animation: flicker 1.5s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.modal-header-simple .btn-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.modal-header-simple .btn-close::after {
    content: '×';
    color: white;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
}

.header-content {
    position: relative;
    max-width: calc(100% - 40px);
    padding-top: 8px;
}

.header-content .modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-right: 60px;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.4;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.current-price {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

/* Removed old savings-badge styles as it's now part of info-badges */

/* Modal Body */
.modal-body-simple {
    padding: 28px 24px;
}

/* Quick Info */
.quick-info {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    border-radius: 12px;
    font-size: 14px;
    color: #1e3a8a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-badge:hover {
    background: #e0f2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-badge i {
    font-size: 14px;
    color: #1e3a8a;
}

.info-badge.hot {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fee2e2;
    animation: glow 2s ease-in-out infinite;
}

.info-badge.hot i {
    color: #dc2626;
}

.info-badge.savings {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
    font-weight: 700;
}

.info-badge.savings i {
    color: #f59e0b;
}

/* Inclusions */
.inclusions-simple {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #fbbf24;
    border-radius: 2px;
}

.inclusion-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.inclusion-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #475569;
    padding: 10px 12px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.inclusion-list li:hover {
    background: #f0f9ff;
    transform: translateX(4px);
}

.inclusion-list li i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(251, 191, 36, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.urgency-message,
.offer-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 8px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.urgency-message:last-child,
.offer-timer:last-child {
    margin-bottom: 0;
}

.urgency-message i,
.offer-timer i {
    font-size: 16px;
    color: #f59e0b;
}

/* Modal Footer */
.modal-footer-simple {
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    display: flex;
    gap: 12px;
}

.modal-footer-simple .btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-footer-simple .btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.modal-footer-simple .btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateX(-2px);
}

.modal-footer-simple .btn-primary {
    background: #1e3a8a;
    border: none;
    flex: 1;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-footer-simple .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modal-footer-simple .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

.modal-footer-simple .btn-primary:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 576px) {
    .package-details-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100%;
    }

    .package-details-modal .modal-content {
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    /* Compact Mobile Header */
    .modal-header-simple {
        padding: 20px 18px 18px;
        border-bottom-width: 3px;
    }

    .modal-header-simple .btn-close {
        width: 28px;
        height: 28px;
        right: 12px;
        top: 12px;
    }

    .hot-badge-header {
        right: 0;
        bottom: -2px;
    }

    .hot-badge {
        font-size: 11px;
        padding: 4px 10px;
        border-radius: 16px 0 0 0;
    }

    .hot-badge i {
        font-size: 11px;
    }

    .header-content {
        max-width: calc(100% - 35px);
    }

    .header-content .modal-title {
        font-size: 17px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .price-section {
        gap: 10px;
    }

    .price-row {
        gap: 8px;
    }

    .current-price {
        font-size: 22px;
    }

    .original-price {
        font-size: 14px;
    }

    .savings-badge {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Compact Mobile Body */
    .modal-body-simple {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }

    .quick-info {
        gap: 8px;
        margin-bottom: 16px;
    }

    .info-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .info-badge i {
        font-size: 12px;
    }

    .inclusions-simple {
        padding: 14px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .inclusion-list {
        gap: 8px;
    }

    .inclusion-list li {
        font-size: 13px;
        padding: 8px 10px;
    }

    .inclusion-list li i {
        font-size: 14px;
    }

    .cta-section {
        padding: 12px;
        margin-top: 16px;
    }

    .urgency-message,
    .offer-timer {
        font-size: 12px;
        gap: 8px;
    }

    /* Compact Mobile Footer */
    .modal-footer-simple {
        padding: 14px;
        gap: 10px;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .modal-footer-simple .btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .modal-footer-simple .btn-secondary {
        min-width: 80px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 10px 2px rgba(220, 38, 38, 0.2);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) rotate(45deg);
    }
}

.package-details-modal.show .modal-content {
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}