
/* --- Card Styles --- */
.custom-card {
    width: 100%;
    max-width: 350px;
    z-index: 2; /* Đảm bảo card nằm nổi lên trên nếu có overlap */
}

/* --- Icon Wrapper Style --- */
.icon-shape {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e7f1ff; /* Xanh nhạt */
    color: #0d6efd; /* Xanh đậm cho icon */
    transition: all 0.3s ease;
}

/* Hiệu ứng hover cho card làm icon sáng lên */
.custom-card:hover .icon-shape {
    background-color: #0d6efd;
    color: #fff;
    transform: scale(1.05);
}

/* --- Process Arrow Style (Mũi tên SVG) --- */
.process-arrow {
    width: 100px; /* Độ rộng mũi tên */
    height: auto;
    opacity: 0.5; /* Làm mờ mũi tên một chút cho đỡ rối */
    margin-top: -30px; /* Kéo mũi tên lên cao một chút để cân với icon */
    transform: scaleX(1); /* Nếu muốn lật ngược mũi tên thì đổi thành -1 */
}

/* Responsive: Ẩn hiện arrow và padding */
@media (max-width: 991px) {
    .custom-card {
        margin-bottom: 2rem; /* Khoảng cách giữa các bước trên mobile */
    }
}

    .icon-shape-lg {
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .d-flex:hover .icon-shape-lg {
        background-color: var(--bs-primary) !important;
        color: #fff !important;
        transform: rotateY(180deg);
    }

    .hover-lift {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .hover-lift:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .map-container {
        overflow: hidden;
    }

/* Nút App Store / CH Play */
.btn-outline-light:hover {
    background-color: #fff;
    color: #000;
}

/* Cột footer */
.footer-column {
    min-width: 140px; /* Đảm bảo cột không bị co quá nhỏ */
}
/* Icon toggle styles */
.cursor-pointer {
    cursor: pointer;
}



.notification-icon-wrapper:hover {
    transform: scale(1.1);
}

.notification-badge {
    font-size: 0.65rem;
    padding: 0.25em 0.5em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.notification-dropdown {
    min-width: 380px;
    max-width: 400px;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

/* ========== NOTIFICATION CONTENT - TEXT HANDLING ========== */

/* Content wrapper - prevent overflow */
.notification-content {
    min-width: 0; /* Important for flex text truncation */
    max-width: 100%;
    overflow: hidden;
}

/* Title - 2 lines max with ellipsis */
.notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Bổ sung thuộc tính này cho chắc chắn */
    margin-right: 0.5rem; /* Space for unread indicator */
}

/* Message - 2 lines max with ellipsis */
.notification-message {
    font-size: 0.8rem;
    line-height: 1.4;
    color: #6c757d;
    /* Xử lý cắt dòng hiển thị ... */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Số dòng muốn hiển thị trước khi hiện ... */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Bổ sung thuộc tính này cho chắc chắn */
    
    margin-bottom: 0.5rem !important;
    
    /* Fix lỗi word-break nếu có từ quá dài không xuống dòng */
    word-break: break-word; 
    overflow-wrap: break-word;
}

/* Time */
.notification-time {
    font-size: 0.75rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.scan-dropdown{
    border-radius: 0.5rem !important;
}
/* User Dropdown */
.user-avatar-wrapper {
    width: 36px;
    height: 36px;
}

.user-avatar,
.user-avatar-placeholder {
    width: 36px;
    height: 36px;
    object-fit: cover;
}

.user-avatar-placeholder {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-primary-dark, #0056b3));
    color: white;
    font-size: 1.1rem;
}

.user-dropdown {
    min-width: 280px;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

/* Footer Wrapper - Background Container */
.footer-wrapper {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
}

/* Footer Overlay */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 4, 21, 0.7);
    z-index: 1;
}

/* Footer Content */
.footer {
    position: relative;
    z-index: 2;
}

/* Footer Logo */
.footer-logo {
    max-height: 60px;
}

/* Footer Links */
.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Social Buttons */
.social-btn {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Language Links */
.lang-link {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.lang-link:last-child {
    border-right: none;
}

.lang-link:hover {
    color: #fff !important;
}

/* App Store Label */
.app-label {
    font-size: 10px;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991.98px) {
    .footer-wrapper {
        background-position: center;
    }
}

@media (max-width: 767.98px) {
    .footer-logo {
        max-height: 50px;
    }
    
    .social-btn {
        width: 36px;
        height: 36px;
    }
}
.bg-pattern-section {
    background-color: #281052;
    background-repeat: repeat;
    background-size: 170px auto;
    background-position: 0 0;
    position: relative;
}
/* ==================== PRIVATE INFO MODAL STYLES ==================== */

.my-events-modal__dialog--large {
    max-width: 600px;
    width: 95%;
}

.my-events-modal__header-icon--warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Loading & Empty States */
.private-info-loading,
.private-info-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.private-info-loading i,
.private-info-empty i {
    margin-bottom: 15px;
    color: #adb5bd;
}

.private-info-empty h5 {
    margin-bottom: 10px;
    color: #495057;
}

/* Private Info Content */
.private-info-content {
    padding: 10px 0;
}

.private-info-section {
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.private-info-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    border-bottom: 1px solid #e9ecef;
}

.private-info-section__header i {
    color: #6366f1;
    font-size: 1.1rem;
}

.private-info-section__header h6 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.private-info-section__body {
    padding: 16px;
}

/* Info Rows */
.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.info-row:not(:last-child) {
    border-bottom: 1px dashed #e9ecef;
}

.info-label {
    font-weight: 500;
    color: #6c757d;
    min-width: 80px;
    font-size: 0.9rem;
}

.info-value {
    flex: 1;
    color: #212529;
    font-weight: 500;
    word-break: break-word;
}

.info-value--password {
    font-family: monospace;
    letter-spacing: 2px;
}

.info-value--code {
    font-family: monospace;
    background: #e9ecef;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    color: #6366f1;
}

.info-value--link {
    color: #6366f1;
    text-decoration: none;
}

.info-value--link:hover {
    text-decoration: underline;
}

/* Copy & Toggle Buttons */
.copy-btn,
.toggle-btn {
    background: #e9ecef;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #6c757d;
    transition: all 0.2s ease;
}

.copy-btn:hover,
.toggle-btn:hover {
    background: #6366f1;
    color: white;
}

/* Shuttle Block */
.shuttle-block {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.shuttle-block:last-child {
    margin-bottom: 0;
}

.shuttle-block__title {
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shuttle-block__content .info-row {
    padding: 6px 0;
    border-bottom: none;
}

.shuttle-block__content .info-row i {
    color: #9ca3af;
    width: 20px;
}

/* Notes */
.notes-text {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    white-space: pre-line;
}

/* Button Warning Style */
.my-events-card__btn--warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border: none;
}

.my-events-card__btn--warning:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Responsive */
@media (max-width: 576px) {
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .copy-btn,
    .toggle-btn {
        align-self: flex-end;
    }
}
/* ==================== CATEGORIES SECTION V2 ==================== */

.category-card-v2 {
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.category-card-v2:hover {
    transform: translateY(-5px);
}

.category-card-v2__inner {
    background-color: #281231; /* Màu xanh đậm viền */
    border-radius: 24px;
    padding: 16px;
    padding-bottom: 18px;
}

.category-card-v2__image-wrap {
    background-color: #1e3a5f; /* Màu nền tối cho ảnh */
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 12px;
}

.category-card-v2__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card-v2:hover .category-card-v2__image {
    transform: scale(1.05);
}

.category-card-v2__title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff; /* Text trắng */
    margin: 0;
    padding: 0 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-card-v2__inner {
        border-radius: 18px;
        padding: 8px;
        padding-bottom: 12px;
    }
    
    .category-card-v2__image-wrap {
        border-radius: 12px;
        margin-bottom: 8px;
    }
    
    .category-card-v2__title {
        font-size: 0.875rem;
    }
}