
/* =========================================================
   CARIPULSE MY EXPERIENCES
========================================================= */

.my-experiences-page [hidden],
.my-experiences-modal[hidden],
.my-experiences-notification[hidden] {
    display: none !important;
}

.my-experiences-page {
    min-height: 70vh;
    background: #ffffff;
    color: #081221;
    font-family: "Poppins", sans-serif;
}

/* STATES */

.my-experiences-state {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 70px 24px;
    text-align: center;
}

.my-experiences-state > i {
    color: #ff0f7b;
    font-size: 34px;
}

.my-experiences-state strong {
    color: #00053d;
    font-size: 21px;
    font-weight: 700;
}

.my-experiences-state span {
    max-width: 520px;
    color: #687280;
    font-size: 13px;
    line-height: 1.7;
}

/* TOPBAR */

.my-experiences-topbar {
    padding: 28px 0 18px;
}

.my-experiences-topbar .container {
    display: flex;
    justify-content: flex-end;
}

.my-experiences-explore-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    color: #081221;
    background: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.my-experiences-explore-link i {
    color: #ff0f7b;
}

.my-experiences-explore-link:hover {
    border-color: #ff0f7b;
    background: #fff7fb;
}

/* HEADING */

.my-experiences-heading {
    padding: 10px 0 31px;
}

.my-experiences-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 31px;
    border-bottom: 1px solid #e8ecf2;
}

.my-experiences-heading h1 {
    margin: 0;
    color: #00053d;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.my-experiences-heading p {
    margin: 9px 0 0;
    color: #687280;
    font-size: 14px;
    line-height: 1.7;
}

#my-experiences-count {
    flex-shrink: 0;
    color: #687280;
    font-size: 12px;
    font-weight: 600;
}

/* SECTION */

.my-experiences-section {
    padding: 0 0 110px;
}

.my-experiences-section-title h2 {
    margin: 0 0 20px;
    color: #00053d;
    font-size: 22px;
    font-weight: 700;
}

/* FILTERS */

.my-experiences-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.my-experiences-tabs button {
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    background: #ffffff;
    color: #687280;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.my-experiences-tabs button.is-active {
    border-color: #00053d;
    background: #00053d;
    color: #ffffff;
}

.my-experiences-tabs button:hover:not(.is-active) {
    border-color: #ff0f7b;
    color: #ff0f7b;
}

/* BOOKING CARDS */

.my-experiences-list {
    display: grid;
    gap: 16px;
}

.my-experience-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    background: #ffffff;
}

.my-experience-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #00053d, #163280);
    color: #fdb52b;
    font-size: 48px;
}

.my-experience-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center;
}

.my-experience-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 26px;
}

.my-experience-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.my-experience-top h3 {
    margin: 0;
    color: #00053d;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.my-experience-reference {
    display: block;
    margin-top: 7px;
    color: #687280;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.my-experience-status {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    padding: 7px 12px;
    border-radius: 7px;
    background: #edf7f1;
    color: #187447;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.my-experience-status.is-pending {
    background: #fff6e5;
    color: #a76200;
}

.my-experience-status.is-cancelled,
.my-experience-status.is-rejected,
.my-experience-status.is-declined {
    background: #fff0f1;
    color: #c62828;
}

.my-experience-status.is-completed {
    background: #eef3ff;
    color: #2455c6;
}

.my-experience-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.my-experience-detail {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
}

.my-experience-detail span,
.my-experience-amount span {
    display: block;
    margin-bottom: 5px;
    color: #7a8391;
    font-size: 10px;
    font-weight: 600;
}

.my-experience-detail strong,
.my-experience-amount strong {
    display: block;
    color: #081221;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.my-experience-detail small,
.my-experience-amount small {
    display: block;
    margin-top: 5px;
    color: #687280;
    font-size: 10px;
    line-height: 1.6;
}

.my-experience-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
}

/* BUTTONS */

.my-experiences-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(120deg, #fdb52b, #ff0f7b);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.my-experiences-button:hover {
    color: #ffffff;
    opacity: .92;
}

/* EMPTY */

.my-experiences-empty {
    padding: 70px 24px;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    text-align: center;
}

.my-experiences-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff0f6;
    color: #ff0f7b;
    font-size: 26px;
}

.my-experiences-empty h2 {
    margin: 0;
    color: #00053d;
    font-size: 22px;
}

.my-experiences-empty p {
    max-width: 520px;
    margin: 9px auto 22px;
    color: #687280;
    font-size: 13px;
    line-height: 1.7;
}

/* MODAL */

.my-experiences-modal {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: "Poppins", sans-serif;
}

.my-experiences-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 5, 61, .72);
}

.my-experiences-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 650px;
    max-height: 90dvh;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    color: #081221;
}

.my-experiences-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 24px 28px;
    border-bottom: 1px solid #e8ecf2;
}

.my-experiences-dialog-header h2 {
    margin: 0;
    color: #00053d;
    font-size: 22px;
}

.my-experiences-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #e3e8ef;
    border-radius: 50%;
    background: #ffffff;
    color: #00053d;
    cursor: pointer;
}

.my-experiences-dialog-content {
    min-height: 0;
    overflow-y: auto;
    padding: 12px 28px 24px;
}

.my-experiences-detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecf2;
}

.my-experiences-detail-row span {
    color: #687280;
    font-size: 12px;
}

.my-experiences-detail-row strong {
    min-width: 0;
    text-align: right;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.my-experiences-dialog-footer {
    display: flex;
    justify-content: flex-end;
    padding: 20px 28px;
    border-top: 1px solid #e8ecf2;
}

body.my-experiences-modal-open {
    overflow: hidden;
}

/* AUTO / MANUAL DISMISS NOTIFICATIONS */

.my-experiences-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100020;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid #d9eee2;
    border-radius: 14px;
    background: #ffffff;
    color: #187447;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    line-height: 1.6;
}

.my-experiences-notification.is-error {
    border-color: #f1b7c4;
    color: #c62828;
}

.my-experiences-notification span {
    flex: 1;
}

.my-experiences-notification button {
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

/* ACCESSIBILITY */

.my-experiences-page button:focus-visible,
.my-experiences-page a:focus-visible,
.my-experiences-modal button:focus-visible,
.my-experiences-notification button:focus-visible {
    outline: 2px solid #ff0f7b;
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .my-experience-card {
        grid-template-columns: 1fr;
    }

    .my-experience-image {
        min-height: 160px;
    }
}

@media (max-width: 600px) {
    .my-experiences-heading-row,
    .my-experience-top,
    .my-experience-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    #my-experiences-count {
        flex-shrink: 1;
    }

    .my-experience-body {
        padding: 20px;
    }

    .my-experience-details {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .my-experiences-button {
        width: 100%;
    }

    .my-experiences-dialog-header,
    .my-experiences-dialog-footer {
        padding: 18px;
    }

    .my-experiences-dialog-content {
        padding: 8px 18px 20px;
    }

    .my-experiences-detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .my-experiences-detail-row strong {
        text-align: left;
    }

    .my-experiences-notification {
        right: 16px;
        bottom: 16px;
    }
}


.my-experience-image {
    overflow: hidden;
}

.my-experience-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

@media (max-width: 900px) {
    .my-experience-image img {
        height: 200px;
        min-height: 200px;
    }
}


