/* Member Area Styles */
.member-container {
    padding-top: 20px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 72px);
}

.member-header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.member-header .navbar-brand img {
    transition: all 0.3s ease;
}

.member-header .navbar-brand img:hover {
    transform: scale(1.05);
}

.welcome-section {
    background-color: #fff;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.points-display {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-weight: bold;
}

.points-display i {
    margin-right: 8px;
    color: #ffc107;
}

.promo-slider {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.notification-badge {
    font-size: 0.6rem;
    position: relative;
    top: -10px;
    left: -5px;
}

.notification-dropdown, .messages-dropdown {
    max-height: 400px;
    overflow-y: auto;
    width: 300px;
}

.booking-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.booking-summary table {
    margin-bottom: 0;
}

.booking-summary th {
    width: 40%;
}

/* Progress Level Styles - Updated */

.progress-level {
    margin-bottom: 30px;
}

.level-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

.level-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #e9ecef;
    z-index: 1;
}

.level-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    margin: 0 auto 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

/* Warna merah untuk semua level yang sudah dicapai */
.level-step.reached .step-circle {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.3);
}

/* Garis penghubung untuk level yang sudah dicapai */
.level-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 3px;
    background-color: #e9ecef;
    z-index: -1;
}

.level-step.reached:not(:last-child)::after {
    background-color: #dc3545;
}

/* Animasi untuk level saat ini */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.level-step.current .step-circle {
    animation: pulse 2s infinite;
}

.step-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.step-requirement {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Responsive untuk mobile */
@media (max-width: 767.98px) {
    .level-steps {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .level-steps::before {
        display: none;
    }
    
    .level-step {
        text-align: left;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .step-circle {
        margin: 0 10px 0 0;
    }
    
    .level-step:not(:last-child)::after {
        display: none;
    }
}

/* Member Profile */
.profile-picture {
    position: relative;
    display: inline-block;
}

.profile-picture img {
    object-fit: cover;
    border: 3px solid #0d6efd;
}

.benefits ul {
    padding-left: 20px;
}

.benefits li {
    margin-bottom: 8px;
}

/* Payment Methods */
.payment-method input[type="radio"]:checked + label .card {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.payment-method .card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method .card:hover {
    border-color: #0d6efd;
}

/* Wallet Cards */
.wallet-card {
    transition: all 0.3s ease;
}

.wallet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .member-container {
        padding-top: 10px;
    }
    
    .welcome-section {
        padding: 15px 0;
    }
    
    .notification-dropdown, .messages-dropdown {
        width: 250px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box .form-group label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.btn-search {
    width: 100%;
    padding: 10px;
    margin-top: 24px;
}

/* Promo Section */
.promo-section {
    padding: 60px 0;
}

.promo-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    margin-bottom: 30px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover img {
    transform: scale(1.05);
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: #fff;
}

.promo-content h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

/* Country Section */
.country-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.promo-scroll {
    display: flex;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: none; /* Firefox */
}

.promo-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.country-flag {
    flex: 0 0 auto;
    text-align: center;
    margin-right: 20px;
    width: 80px;
}

.country-flag img {
    width: 50px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 5px;
}

.country-flag span {
    display: block;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hotel Section */
.hotel-section {
    padding: 60px 0;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 150px;
    object-fit: cover;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.card-footer {
    border-top: none;
    background-color: transparent;
}

/* Footer Styles */
.main-footer {
    background-color: #1a1a1a;
}

.main-footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.main-footer ul li {
    margin-bottom: 10px;
}

.main-footer a:hover {
    color: #0d6efd !important;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0d6efd;
    color: #fff !important;
}

/* Boost Level Styles */
.boost-options .form-check {
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.boost-options .form-check:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.boost-options .form-check-input:checked ~ label {
    color: #0d6efd;
}

/* Rating Styles */
.user-rating {
    font-size: 1.2rem;
}

/* Reward Styles */
.reward-item {
    transition: all 0.3s;
}

.reward-item:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.reward-claimed {
    opacity: 0.7;
    background-color: #f8f9fa;
}

.reward-claimed img {
    filter: grayscale(100%);
}

/* Boost Level Styles */
.boost-option-card {
    transition: all 0.3s;
    cursor: pointer;
    background: white;
}

.boost-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border-color: #0d6efd !important;
}

.boost-option-card.selected {
    background-color: #f8f9fa;
    border: 2px solid #0d6efd !important;
}

/* Upload Container */
.upload-container {
    transition: all 0.3s;
    cursor: pointer;
}

.upload-container:hover {
    border-color: #0d6efd !important;
    background-color: #f8f9fa;
}

/* Bank Selection */
.list-group-item {
    cursor: pointer;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Tambahan di bagian style */
.upload-error {
    border-color: #dc3545 !important;
    background-color: #f8d7da !important;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .spinner-border {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Alert Animation */
.alert {
    transition: all 0.3s ease;
}

/* Upload Area */
.upload-container {
    transition: all 0.3s;
    cursor: pointer;
}

.upload-container:hover {
    border-color: #0d6efd !important;
    background-color: #f8f9fa;
}

.upload-container.drag-over {
    border-color: #0d6efd !important;
    background-color: #e7f1ff;
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .hotel-item {
        margin-bottom: 15px;
    }
    
    .promo-card {
        height: 200px;
    }
}