/* Write your css codes here */

/* Agency Notification Bell Styles - Only for Agency Dashboard */
.agency-dashboard .notification-bell-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.agency-dashboard .notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #6c757d;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.agency-dashboard .notification-bell:hover {
    background: #e9ecef;
    color: #495057;
    transform: scale(1.05);
}

.agency-dashboard .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.agency-dashboard .notification-bell-wrapper { position: relative; }
.agency-dashboard .notification-dropdown {
    position: absolute;
    top: 0 !important;
    right: calc(100% + 12px) !important;
    left: auto !important;
    transform: none;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 350px;
    max-width: 400px;
    z-index: 1050;
    display: none;
    max-height: 500px;
    overflow: hidden;
}

.agency-dashboard .notification-dropdown.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

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

.agency-dashboard .notification-dropdown-header {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.agency-dashboard .notification-dropdown-header h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.agency-dashboard .notification-dropdown-header a {
    font-size: 13px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}

.agency-dashboard .notification-dropdown-header a:hover {
    color: #495057;
}

.agency-dashboard .notification-list {
    max-height: 350px;
    overflow-y: auto;
}

.agency-dashboard .notification-list::-webkit-scrollbar {
    width: 6px;
}

.agency-dashboard .notification-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.agency-dashboard .notification-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.agency-dashboard .notification-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.agency-dashboard .notification-item {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f5;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.agency-dashboard .notification-item:last-child {
    border-bottom: none;
}

.agency-dashboard .notification-item:hover {
    background: #f8f9fa;
}

.agency-dashboard .notification-item.notification-new {
    background: #e7f3ff;
    border-left: 3px solid #0d6efd;
}

.agency-dashboard .notification-item.notification-new:hover {
    background: #d4e9ff;
}

.agency-dashboard .notification-item.notification-read {
    opacity: 0.6;
    background: #fafafa;
}

.agency-dashboard .notification-item.notification-read:hover {
    opacity: 0.8;
    background: #f1f1f1;
}

.agency-dashboard .notification-item.notification-read .notification-content strong,
.agency-dashboard .notification-item.notification-read .notification-content p {
    color: #999;
}

.agency-dashboard .notification-content strong {
    display: block;
    font-size: 14px;
    color: #212529;
    margin-bottom: 4px;
}

.agency-dashboard .notification-content p {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.agency-dashboard .notification-content small {
    font-size: 12px;
    color: #adb5bd;
}

.agency-dashboard .notification-empty {
    padding: 40px 20px;
    text-align: center;
    color: #adb5bd;
}

.agency-dashboard .notification-empty i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.agency-dashboard .notification-empty p {
    margin: 0;
    font-size: 14px;
}

.agency-dashboard .notification-dropdown-footer {
    padding: 12px 20px;
    border-top: 1px solid #dee2e6;
    text-align: center;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.agency-dashboard .notification-dropdown-footer a {
    display: block;
    color: #0d6efd;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.agency-dashboard .notification-dropdown-footer a:hover {
    color: #0a58ca;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .agency-dashboard .notification-dropdown {
        min-width: 300px;
        right: -50px;
    }
    
    .agency-dashboard .notification-bell-wrapper {
        margin-left: 10px;
    }
}

/* Manual Payment Modal Height */
#manualPaymentModal .modal-body {
    overflow: visible;
    padding: 0;
    max-height: none;
    margin-bottom: 0;
}

#manualPaymentModal .modal-dialog {
    max-height: 95vh;
    overflow: visible;
}

.login-box .form--wrap {
    padding: 0px 14px 0px 14px;
}

/* Header: Become Host next to Sign In */
.header-wrapper .login-lng {
    gap: 8px !important;
}

.header-wrapper .become-host-link a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: hsl(var(--black));
    text-decoration: none;
    padding: 8px 4px;
    display: inline-flex;
    align-items: center;
}

.header-wrapper .become-host-link a:hover {
    color: hsl(var(--base));
}

/* Login modal (header Sign In) */
.modal-login .login-box {
    box-shadow: none;
    border-radius: 0;
    padding: 40px 20px;
    position: relative;
    background: white;
    border: none;
}

/* Agency login logo */
.login-section .login-box .logo--wrap img {
    max-width: 50%;
    display: block;
    margin: 0 auto;
}

/* Activity cards: 2 per row on mobile */
@media (max-width: 575.98px) {
    .fs--14 {
        font-size: 10px !important;
    }
    .latest-tours--section .row.justify-content-center.gy-4 > [class*="col-"] ,
    .tour-content > [class*="col-"] ,
    .feature--section .row.justify-content-center.gy-4 > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .latest-tours--section .row.justify-content-center.gy-4,
    .tour-content,
    .feature--section .row.justify-content-center.gy-4 {
        margin-left: -6px;
        margin-right: -6px;
    }

    .latest-tours--section .row.justify-content-center.gy-4 > [class*="col-"] ,
    .tour-content > [class*="col-"] ,
    .feature--section .row.justify-content-center.gy-4 > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .activity-card {
        border-radius: 12px;
        box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.06);
        padding: 10px;
        display: flex;
        flex-direction: column;
    }

    .activity-card__thumb img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 12px 12px 0 0;
    }

    .activity-card__content {
        padding: 5px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .activity-card__price-wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        flex: 1;
    }

    .activity-card__price {
        width: 100%;
        text-align: left !important;
    }

    .activity-card__thumb {
        border-radius: 10px;
        width: 100%;
        height: auto;
        overflow: hidden;
        margin-bottom: 5px;
    }

    .activity-card__location p,
    .activity-card__star p {
        font-size: 11px;
    }

    .activity-card__star {
        margin-bottom: 5px;
    }

    .activity-card__title {
        font-size: 13px !important;
        line-height: 1.3;
        min-height: 20px;
    }

    .activity-card__title {
        margin-bottom: 5px;
        transition: 0.3s ease;
    }

    .gap--16 {
        gap: 10px !important;
    }

    .fs--20 {
        font-size: 15px !important;
    }

    .activity-card__price,
    .activity-card__price strong,
    .activity-card__price span {
        font-size: 12px;
        text-align: left !important;
    }

    .activity-card__price span {
        font-size: 10px !important;
        text-align: left !important;
    }

    .activity-card__price h6 {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    .activity-card__btn-wrap .btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .activity-card__btn-wrap {
        margin-top: auto;
        align-self: flex-start;
        text-align: left;
    }
}

.modal-login .login-box .logo--wrap img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Agency booking list action buttons hover */
.action--btn.btn--base:hover,
.action--btn.btn--base:focus,
.action--btn.btn--base:active {
    background: hsl(var(--base)) !important;
    border-color: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
}

/* Fix success button hover color */
.btn--success:hover,
.btn--success:active,
.btn--success:focus {
    background: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--base)) !important;
}

/* Fix info button hover color */
.btn--info:hover,
.btn--info:active,
.btn--info:focus {
    background: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--base)) !important;
}

.btn--info {
    background: #fd7e14;
}

.confirmQrBtn.btn--info:hover,
.confirmQrBtn.btn--info:active,
.confirmQrBtn.btn--info:focus {
    background: hsl(var(--base)) !important;
    color: hsl(var(--white)) !important;
    border-color: hsl(var(--base)) !important;
}

.modal-login .form--control.pills,
.modal-login .btn.pills {
    border-radius: 8px;
}

.modal-login .modal-content {
    padding: 16px 20px 20px;
}

.modal-login .btn-close {
    outline: none;
    box-shadow: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.modal-login .verify-gcaptcha {
    margin-bottom: 0;
}

.modal-login .content {
    margin-top: 8px;
}

.modal-backdrop.show {
    opacity: 0.25;
}

@media (min-width: 576px) {
    .modal-login .modal-dialog {
        max-width: 480px;
    }
}

/* Tidy modal spacing */

.modal-login .form--wrap {
    padding: 0;
}

.modal-login .form--label {
    margin-bottom: 6px;
    font-size: 13px;
}

.modal-login .login-meta {
    gap: 8px 12px;
}

.modal-login .btn.btn--base.btn--lg.w-100.pills {
    margin-top: 4px;
}

.modal-login .text-center.mt-3 {
    margin-top: 12px !important;
}

.modal-login .text-center.mt-3 .btn {
    margin-top: 8px;
}

.modal-login .text-center.mt-3 .btn + .btn {
    margin-top: 8px;
}

.modal-login .modal-content {
    border-radius: 12px;
}