* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: #333;
    background: #ffffff;
}

.terms-page-layout {
    width: 100%;
    min-height: 100vh;
	display: flex;
}

/* Side Panel */
.terms-side-panel {
        min-height: 100vh;
    background: #f3f3f3;
    padding: 12px 42px 40px 135px;
    position: sticky;
    top: 0;
    left: 0;
    overflow-y: auto;
    flex-shrink: 0;
    height: 100%;
}

.terms-breadcrumb {
    font-size: 13px;
    color: #8a8a8a;
    margin-bottom: 50px;
    white-space: nowrap;
}

.terms-breadcrumb a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.terms-breadcrumb span {
    margin-left: 4px;
}

.terms-mobile-breadcrumb {
    display: none;
}

.terms-side-title {
    font-size: 17px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 26px;
    text-decoration: underline;
}

.terms-side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-side-list li {
    margin-bottom: 25px;
}

.terms-side-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: #5f5f5f;
}

.terms-number {
    font-size: 14px;
    line-height: 20px;
    color: #555;
    min-width: 18px;
    text-align: right;
}

.terms-side-list strong {
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #5f5f5f;
}

.terms-side-list small {
    display: block;
    font-size: 11px;
    color: #888;
    margin-top: 7px;
}

.terms-side-list li.active strong,
.terms-side-list li.active .terms-number {
    color: #00b8ad;
    font-weight: 500;
}

.terms-side-list a:hover strong,
.terms-side-list a:hover .terms-number {
    color: #00b8ad;
}

/* Main Layout */
.terms-main-content {
    min-height: 100vh;
    background: #ffffff;
}

.terms-content-inner {
    width: 80%;
    padding: 78px 40px 80px 45px;
}

.terms-top-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
    margin-bottom: 28px;
}

.terms-top-meta strong {
    font-weight: 600;
}

.terms-top-meta a {
    color: #0075ff;
    text-decoration: none;
}

.terms-top-meta a:hover {
    text-decoration: underline;
}

.terms-company-name {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    color: #0F6464;
    margin: 0 0 4px;
}

.terms-content-inner h1 {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 800;
    color: #0F6464;
    margin: 0 0 36px;
    letter-spacing: -1.2px;
}

/* Terms Body */
.terms-body {
    font-size: 14px;
    line-height: 1.52;
    color: #3f3f3f;
}

.terms-body p {
    margin: 0 0 14px;
}

.terms-body a {
    color: #006fff;
    text-decoration: underline;
}

.terms-section {
    margin-top: 34px;
}

.terms-section-heading {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 8px;
    margin-bottom: 28px;
}

.terms-section-heading h2 {
    font-size: 20px;
    line-height: 120%;
    font-weight: 800;
    color: #0F6464;
    margin: 0 0 4px;
}

.terms-section-heading span {
    display: block;
    font-size: 13px;
    color: #777;
    margin-left: 18px;
}

.terms-body h3 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    color: #1A1A1A;
    margin: 20px 0 10px;
    text-decoration: underline;
}

.terms-dot-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.terms-dot-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 145%;
    color: #1A1A1A;
}

.terms-dot-list li::before {
    content: "";
    width: 9px;
    height: 9px;
    background: #c8c617;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 5px;
}

.terms-dot-list strong {
    font-weight: 800;
}

.terms-arrow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-arrow-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 145%;
    color: #000000;
}

.terms-arrow-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 11px;
    height: 11px;
    background-image: url("https://dcsb59fztkcs1.cloudfront.net/arabiersLk/arabiers-policies/yellow-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.terms-arrow-list li:last-child {
    margin-bottom: 0;
}

.terms-contact-list {
    margin-top: 22px;
}

.terms-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 14px;
}

.terms-contact-list li::before {
    top: 6px;
}

.terms-contact-list strong {
    min-width: 165px;
}

.terms-contact-list a {
    color: #006fff;
    text-decoration: underline;
}

.terms-contact-list span {
    display: inline-block;
}

.terms-section {
    scroll-margin-top: 40px;
}

/* Privacy Policy Extra Styles */
.privacy-applies {
    font-size: 16px;
    margin-bottom: 40px !important;
}

.privacy-applies span {
    display: inline-block;
    margin: 0 10px;
}

.privacy-info-table {
    width: 100%;
    margin: 24px 0 24px;
}

.privacy-info-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 5px;
    margin-bottom: 5px;
}

.privacy-info-label {
    background: #87d3dc;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    padding: 13px 10px;
}

.privacy-info-value {
    background: #f2f2f2;
    color: #1A1A1A;
    font-size: 14px;
    line-height: 1.4;
    padding: 13px 12px;
}

/* Privacy Contact Section */
.privacy-contact-section {
    padding-bottom: 70px;
}

.privacy-contact-grid {
    display: grid;
    grid-template-columns: 245px 360px;
    gap: 10px;
    margin: 28px 0 32px;
}

.privacy-contact-card {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 18px 21px 18px;
}

.privacy-contact-card h3,
.privacy-regulator-box h3 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 12px;
    text-decoration: underline;
}

.privacy-contact-company {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
    color: #888;
    margin: 0 0 14px !important;
}

.privacy-contact-list {
    margin: 0;
}

.privacy-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.privacy-contact-list li::before {
    top: 6px;
}

.privacy-contact-list strong {
    font-weight: 800;
    white-space: nowrap;
}

.privacy-contact-list a {
    color: #006fff;
    text-decoration: underline;
}

.privacy-hours-card p {
    margin: 14px 0 0 !important;
    font-size: 14px;
    line-height: 1.45;
    color: #1A1A1A;
}

.privacy-regulator-box {
    background: #f5f5f5;
    border-left: 7px solid #31c5c8;
    padding: 28px 30px 28px 25px;
    margin-top: 30px;
}

.privacy-regulator-box p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
}

/* Tablet */
@media (max-width: 1199px) {
    .terms-side-panel {
        width: 330px;
        padding: 12px 30px 40px 45px;
    }

    .terms-main-content {
        margin-left: 330px;
    }

    .terms-content-inner {
        width: 100%;
        max-width: 850px;
        padding: 70px 35px;
    }
}

/* Cancellation Policy Extra Styles */
.cancellation-body .privacy-applies {
    margin-bottom: 40px !important;
}

.cancellation-overview-section {
    margin-top: 38px;
}

.cancellation-policy-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 0;
}

.cancellation-policy-card {
    border-radius: 8px;
    padding: 17px 18px 18px;
    min-height: 145px;
}

.cancellation-policy-card h3 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 800;
    text-decoration: none;
    margin: 0 0 12px;
}

.cancellation-policy-card h4 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 12px;
    text-decoration: underline;
}

.cancellation-policy-card p {
    font-size: 14px;
    line-height: 1.45;
    color: #1A1A1A;
    margin: 0 !important;
}

.refund-card {
    background: #E8F5F5;
    border: 1px solid #27BDBE;
}

.refund-card h3 {
    color: #0F6464;
}

.no-refund-card {
    background: #FFF6EB;
    border: 1px solid #FDCD96;
}

.no-refund-card h3 {
    color: #ff8800;
}

/* Cancellation Timeline Table */
.cancellation-content-section {
    margin-top: 48px;
}

.cancellation-refund-table {
    width: 100%;
    margin: 30px 0 28px;
}

.cancellation-refund-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 7px;
}

.cancellation-refund-row>div {
    background: #f2f2f2;
    padding: 18px 10px;
    font-size: 16px;
    line-height: 1.35;
    color: #1A1A1A;
}

.cancellation-refund-head>div {
    background: #87d3dc;
    color: #000;
    font-weight: 800;
    padding: 12px 10px;
}

.cancellation-refund-row .muted-text {
    color: #8f8f8f;
}

/* Cancellation note box */
.cancellation-note-box {
    background: #f5f5f5;
    border-left: 7px solid #31c5c8;
    border-radius: 0 8px 8px 0;
    padding: 25px 30px 24px 25px;
    margin: 28px 0 0;
}

.cancellation-note-box h3 {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 12px;
    text-decoration: underline;
}

.cancellation-note-box p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.5;
    color: #1A1A1A;
}

.cancellation-contact-grid {
    grid-template-columns: 345px 355px;
    margin-top: 28px;
}

.cancellation-contact-section .privacy-contact-card>p:not(.privacy-contact-company) {
    font-size: 14px;
    line-height: 1.45;
    color: #1A1A1A;
    margin: 0 0 14px !important;
}

/* Mobile - no side panel */
@media (max-width: 767px) {
    .terms-side-panel {
        display: none;
    }

    .terms-main-content {
        margin-left: 0;
    }

    .terms-content-inner {
        width: 100%;
        max-width: 100%;
        padding: 14px 19px 55px;
    }

    .terms-mobile-breadcrumb {
        display: block;
        font-size: 14px;
        line-height: 1.4;
        color: #8a8a8a;
        margin-bottom: 20px;
        white-space: nowrap;
    }

    .terms-mobile-breadcrumb a {
        color: #111;
        text-decoration: none;
        font-weight: 500;
    }

    .terms-mobile-breadcrumb span {
        margin-left: 3px;
    }

    .terms-top-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        margin-bottom: 30px;
    }

    .terms-top-meta span:first-child {
        width: 100%;
        margin-bottom: 14px;
    }

    .terms-top-meta span:nth-child(3) {
        margin: 0 20px;
    }

    .terms-top-meta a {
        font-size: 16px;
        color: #006fff;
        text-decoration: none;
    }

    .terms-company-name {
        font-size: 23px;
        line-height: 1.2;
        font-weight: 800;
        margin: 0 0 4px;
        color: #0F6464;
    }

    .terms-content-inner h1 {
        font-size: 34px;
        line-height: 120%;
        font-weight: 800;
        margin: 0 0 12px;
        color: #0F6464;
    }

    .terms-body {
        font-size: 16px;
        line-height: 1.52;
        color: #3f3f3f;
    }

    .terms-body p {
        margin: 0 0 17px;
    }

    .terms-section {
        margin-top: 40px;
    }

    .terms-section-heading {
        border-bottom: 0;
        padding-bottom: 0;
        margin-bottom: 22px;
        position: relative;
    }

    .terms-section-heading h2 {
        font-size: 22px;
        line-height: 120%;
        font-weight: 700;
        color: #0F6464;
        margin: 0;
        max-width: calc(100% - 72px);
        white-space: normal;
    }

    /* .terms-section-heading::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e1e1e1;
        margin-left: 4px;
        margin-right: 40px;
    } */

    .terms-section-heading::before {
        content: "";
        width: 30px;
        height: 30px;
        background-image: url("https://dcsb59fztkcs1.cloudfront.net/arabiersLk/arabiers-policies/mobile-arrow.svg");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 2;
    }

    .terms-section-heading span {
        font-size: 16px;
        color: #666;
        margin-left: 0;
    }

    .terms-section-heading+p,
    .terms-section-heading+.terms-arrow-list {
        margin-top: 22px;
    }

    .terms-body h3 {
        font-size: 16px;
        margin: 22px 0 12px;
    }

    .terms-dot-list li {
        font-size: 14px;
        line-height: 1.45;
        padding-left: 17px;
        margin-bottom: 7px;
    }

    .terms-arrow-list li {
        font-size: 14px;
        line-height: 1.48;
        padding-left: 22px;
        margin-bottom: 28px;
    }

    .terms-arrow-list li::before {
        top: 4px;
        width: 11px;
        height: 11px;
    }

    .terms-contact-list li {
        font-size: 14px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .terms-contact-list strong {
        min-width: auto;
    }

    .privacy-applies {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 36px !important;
    }

    .privacy-applies span {
        margin: 0 8px;
    }

    .privacy-info-table {
        margin: 24px 0;
    }

    .privacy-info-row {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 8px;
    }

    .privacy-info-label {
        font-size: 14px;
        padding: 12px;
    }

    .privacy-info-value {
        font-size: 14px;
        padding: 12px;
    }


    .privacy-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 26px 0 28px;
    }

    .privacy-contact-card {
        padding: 18px;
    }

    .privacy-contact-card h3,
    .privacy-regulator-box h3 {
        font-size: 16px;
    }

    .privacy-contact-list li {
        font-size: 14px;
    }

    .privacy-regulator-box {
        border-left-width: 6px;
        padding: 22px 18px;
        margin-top: 26px;
    }

    .privacy-regulator-box p {
        font-size: 14px;
    }

    .cancellation-policy-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cancellation-policy-card {
        padding: 16px;
        min-height: auto;
    }

    .cancellation-policy-card h3 {
        font-size: 14px;
        margin-top: 0;
    }

    .cancellation-policy-card h4 {
        font-size: 15px;
    }

    .cancellation-policy-card p {
        font-size: 14px;
    }

    .cancellation-content-section {
        margin-top: 42px;
    }

    .cancellation-refund-table {
        margin: 24px 0 24px;
    }

    .cancellation-refund-row {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 6px;
    }

    .cancellation-refund-row>div {
        padding: 10px 8px;
        font-size: 12px;
        line-height: 1.22;
    }

    .cancellation-refund-head>div {
        padding: 9px 8px;
        font-size: 12px;
        line-height: 1.2;
    }

    .cancellation-contact-grid {
        grid-template-columns: 1fr;
    }

    .cancellation-contact-section .privacy-contact-card>p:not(.privacy-contact-company) {
        font-size: 12px;
    }

    .cancellation-contact-section .privacy-contact-list li {
        font-size: 12px;
        line-height: 1.4;
    }
}