/**
 * Caribbean Therapist - Main Stylesheet
 *
 * Brand palette: dark teal primary, teal secondary, mint, pink, yellow.
 * Fonts: Playfair Display (headings) + Nunito Sans (body).
 * Loaded after the parent Ziston stylesheet.
 */

:root {
    --ct-primary:    #045969;
    --ct-primary-d:  #033f4b;
    --ct-secondary:  #38b6a8;
    --ct-secondary-l:#b7f8f4;
    --ct-accent:     #ffd7d7;
    --ct-bg:         #EDF6F9;
    --ct-text:       #1f2937;
    --ct-muted:      #6b7280;
    --ct-border:     #e5e7eb;
    --ct-success:    #059669;
    --ct-error:      #dc2626;
    --ct-radius:     12px;
    --ct-shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --ct-shadow-md:  0 6px 20px rgba(0,0,0,0.08);
}

/* ============================================================ */
/*  2. THERAPIST SIDEBAR BLOCKS                                  */
/* ============================================================ */
.ct-therapist-sidebar {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--ct-shadow-sm);
}

.ct-info-block {
    padding: 16px 0;
    border-bottom: 1px solid var(--ct-border);
}

.ct-info-block:first-child { padding-top: 0; }
.ct-info-block:last-child  { padding-bottom: 0; border-bottom: 0; }

.ct-info-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ct-primary-d);
    margin: 0 0 12px;
}

/* Tag-style list (Specializations) */
.ct-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ct-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--ct-bg);
    color: var(--ct-primary-d);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--ct-secondary-l);
    transition: all 0.2s;
}

.ct-tag:hover {
    background: var(--ct-secondary-l);
    transform: translateY(-1px);
}

/* Plain list (Languages, Client Types) */
.ct-plain-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-plain-list li {
    padding: 6px 0;
    color: var(--ct-text);
    font-size: 14px;
    border-bottom: 1px dashed transparent;
}

.ct-plain-list li:not(:last-child) {
    border-bottom-color: var(--ct-border);
}

/* Icon-check list (Services & Features) */
.ct-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ct-text);
}

.ct-icon-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--ct-success);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 1px;
}

/* Shield list (Insurance Accepted) */
.ct-shield-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-shield-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--ct-bg);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--ct-primary-d);
    font-weight: 500;
}

.ct-icon-shield {
    flex-shrink: 0;
    font-size: 18px;
    filter: drop-shadow(0 1px 1px rgba(0,109,119,0.2));
}


/* ============================================================ */
/*  3. CONTACT BUTTONS                                           */
/* ============================================================ */
.ct-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.ct-cbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1.5px solid transparent;
    line-height: 1;
}

.ct-cbtn-icon {
    font-size: 16px;
    line-height: 1;
}

.ct-cbtn-call {
    background: var(--ct-primary);
    color: #fff;
}
.ct-cbtn-call:hover {
    background: var(--ct-primary-d);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,109,119,0.25);
}

.ct-cbtn-email {
    background: #fff;
    color: var(--ct-primary-d);
    border-color: var(--ct-primary);
}
.ct-cbtn-email:hover {
    background: var(--ct-bg);
    color: var(--ct-primary-d);
    transform: translateY(-1px);
}

.ct-cbtn-whatsapp {
    background: #25D366;
    color: #fff;
}
.ct-cbtn-whatsapp:hover {
    background: #1DA851;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.ct-cbtn-website {
    background: var(--ct-accent);
    color: #fff;
}
.ct-cbtn-website:hover {
    background: #c97a5e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226,149,120,0.3);
}


/* ============================================================ */
/*  4. QUALIFICATIONS TABLE                                      */
/* ============================================================ */
.ct-qualifications {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--ct-border);
}

.ct-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--ct-text);
    margin: 0 0 20px;
    font-style: italic;
}

.ct-qualifications-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--ct-radius);
    overflow: hidden;
    box-shadow: var(--ct-shadow-sm);
}

.ct-qualifications-table tr {
    border-bottom: 1px solid var(--ct-border);
}
.ct-qualifications-table tr:last-child {
    border-bottom: 0;
}

.ct-qualifications-table th,
.ct-qualifications-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}

.ct-qualifications-table th {
    background: var(--ct-bg);
    color: var(--ct-primary-d);
    font-weight: 600;
    width: 40%;
    border-right: 1px solid var(--ct-border);
}

.ct-qualifications-table td {
    color: var(--ct-text);
}


/* ============================================================ */
/*  5. PACKAGE CARDS / PRICING GRID                              */
/* ============================================================ */
.ct-packages {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.ct-packages-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ct-packages-list {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 32px auto;
}

.ct-package-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: var(--ct-shadow-sm);
}

.ct-package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ct-shadow-md);
    border-color: var(--ct-secondary);
}

.ct-package-card.featured {
    border-color: var(--ct-primary);
    background: linear-gradient(180deg, #fff 0%, var(--ct-bg) 100%);
    transform: scale(1.02);
}

.ct-package-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.ct-package-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ct-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 8px rgba(226,149,120,0.3);
}

.ct-package-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ct-border);
}

.ct-package-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--ct-primary-d);
    margin: 0 0 12px;
}

.ct-package-price {
    margin: 12px 0 8px;
}

.ct-package-price .ct-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--ct-primary);
    line-height: 1;
}

.ct-package-price .ct-price-amount .amount {
    font-size: inherit;
    color: inherit;
}

.ct-package-price .ct-price-period {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ct-muted);
    margin-top: 4px;
}

.ct-package-tagline {
    font-size: 13px;
    color: var(--ct-muted);
    margin: 8px 0 0;
    line-height: 1.5;
}

.ct-package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.ct-package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--ct-text);
    border-bottom: 1px dashed var(--ct-border);
}

.ct-package-features li:last-child {
    border-bottom: 0;
}

.ct-package-features li.ct-feature-key {
    font-weight: 600;
    color: var(--ct-primary-d);
}

.ct-package-features .ct-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    background: var(--ct-secondary);
    color: var(--ct-primary-d);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.ct-package-features li.ct-feature-key .ct-check {
    background: var(--ct-primary);
    color: #fff;
}

/* CTA inside card */
.ct-package-card .ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 0;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
    width: 100%;
}

.ct-package-card .ct-btn-primary {
    background: var(--ct-primary);
    color: #fff;
}

.ct-package-card .ct-btn-primary:hover {
    background: var(--ct-primary-d);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0,109,119,0.25);
}

.ct-package-card.featured .ct-btn-primary {
    background: var(--ct-accent);
}

.ct-package-card.featured .ct-btn-primary:hover {
    background: #c97a5e;
    box-shadow: 0 6px 12px rgba(226,149,120,0.3);
}


/* ============================================================ */
/*  6. NOTICES / STATUS PILLS                                    */
/* ============================================================ */
.ct-notice {
    padding: 14px 18px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}

.ct-notice-info {
    background: var(--ct-bg);
    border-left: 4px solid var(--ct-primary);
    color: var(--ct-primary-d);
}

.ct-notice-warning {
    background: #fff7ed;
    border-left: 4px solid var(--ct-accent);
    color: #9a3412;
}

.ct-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.ct-status-pill.active {
    background: #d1fae5;
    color: var(--ct-success);
}

.ct-status-pill.expired {
    background: #fee2e2;
    color: var(--ct-error);
}


/* ============================================================ */
/*  7. DASHBOARD - PACKAGE STATUS WIDGET                         */
/* ============================================================ */
.ct-pkg-status {
    background: #fff;
    border: 1px solid var(--ct-border);
    border-radius: var(--ct-radius);
    padding: 20px;
    margin-bottom: 24px;
}

.ct-pkg-status.active {
    border-left: 4px solid var(--ct-primary);
}

.ct-pkg-status.expired {
    border-left: 4px solid var(--ct-error);
    background: #fef9f9;
}

.ct-pkg-status.ct-pkg-status-none {
    border-left: 4px solid var(--ct-accent);
    text-align: center;
}

.ct-pkg-status h4 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--ct-text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.ct-pkg-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.ct-pkg-meta li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--ct-text);
}

.ct-pkg-meta li strong {
    color: var(--ct-muted);
    font-weight: 500;
    margin-right: 6px;
}


/* ============================================================ */
/*  8. RESPONSIVE                                                */
/* ============================================================ */
@media (max-width: 768px) {
    .ct-packages-grid {
        grid-template-columns: 1fr;
    }
    .ct-package-card.featured {
        transform: scale(1);
    }
    .ct-package-card.featured:hover {
        transform: translateY(-4px);
    }
    .ct-contact-buttons {
        gap: 8px;
    }
    .ct-cbtn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        font-size: 13px;
        padding: 10px 12px;
    }
    .ct-qualifications-table th,
    .ct-qualifications-table td {
        padding: 10px 14px;
        font-size: 13px;
    }
    .ct-qualifications-table th {
        width: 45%;
    }
    .ct-therapist-sidebar {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .ct-cbtn {
        flex: 1 1 100%;
    }
    .ct-package-card {
        padding: 24px 20px;
    }
    .ct-package-price .ct-price-amount {
        font-size: 30px;
    }
}
