:root {
    --cosy-primary-color: #9b4593;
    --cosy-secondary: #833573;
    --cosy-accent: #f1c40f;
    --cosy-bg: #f8fafc;
    --cosy-white: #ffffff;
    --cosy-gradient: linear-gradient(135deg, #9b4593 0%, #7a3673 100%);
    --cosy-font-family: 'Poppins', sans-serif;
    --cosy-border-radius: 12px;
    --cosy-border-radius-lg: 24px;

    --cosy-brand-purple: #a44390;
    --cosy-brand-dark: #6d2e67;
    --cosy-brand-light: #f1e4ef;
    --cosy-brand-lightest: #fdf2fb;
    --cosy-text-dark: #1e293b;
    --cosy-text-slate: #475569;
    --cosy-text-muted: #64748b;
    --cosy-border: #e2e8f0;
    --cosy-success: #22c55e;
    --cosy-danger: #ef4444;
    --cosy-danger-dark: #dc2626;

    --cosy-text: var(--cosy-text-dark);
    --cosy-subtext: var(--cosy-text-muted);
}

/* Global Font: Poppins - loaded via wp_enqueue_style in Assets.php */
.cosy-premium-grid-container,
.cosy-premium-grid-container h1,
.cosy-premium-grid-container h2,
.cosy-premium-grid-container h3,
.cosy-premium-grid-container h4,
.cosy-premium-grid-container h5,
.cosy-premium-grid-container h6,
.cosy-premium-grid-container p,
.cosy-premium-grid-container span,
.cosy-premium-grid-container small,
.cosy-premium-grid-container button,
.cosy-profile-container,
.cosy-profile-container h1,
.cosy-profile-container h2,
.cosy-profile-container h3,
.cosy-profile-container h4,
.cosy-profile-container h5,
.cosy-profile-container h6,
.cosy-profile-container p,
.cosy-profile-container span,
.cosy-profile-container small,
.cosy-profile-container button,
.card.border-0.shadow-sm,
.card.border-0.shadow-sm h1,
.card.border-0.shadow-sm h2,
.card.border-0.shadow-sm h3,
.card.border-0.shadow-sm h4,
.card.border-0.shadow-sm h5,
.card.border-0.shadow-sm h6,
.card.border-0.shadow-sm p,
.card.border-0.shadow-sm small {
    font-family: var(--cosy-font-family);
}

a:hover,
a:focus {
    color: #a44390;
}

#cosy-appointments {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fafafa;
    border-radius: 6px;
}

.cosy-slot-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.cosy-slot-list li {
    margin-bottom: 8px;
}

.cosy-slot-btn {
    padding: 8px 12px;
    border: 1px solid #0073aa;
    background: #fff;
    color: #0073aa;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cosy-slot-btn:hover {
    background: #e6f2fa;
}

.cosy-slot-btn.selected {
    background: #0073aa;
    color: #fff;
    font-weight: bold;
}

/* Popup container */
#registerPopup {
    display: none;
    position: fixed;
    top: 20%;
    left: 30%;
    width: 40%;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-radius: 6px;
    overflow: hidden;
}

/* Header strip */
#registerPopup .popup-header {
    background: var(--cosy-brand-purple);
    /* purple strip */
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
}

/* Close icon */
#registerPopup .popup-close {
    cursor: pointer;
    font-weight: bold;
}

/* Popup body */
#registerPopup .popup-body {
    padding: 40px;
    text-align: center;
}

/* Member type buttons */
.cc__choose {
    margin: 0 auto;
    font-size: 25px;
    font-weight: 400;
}

.popup-body {
    display: flex;
    justify-content: center;
    gap: 15px;
}


/* Premium Layout: two columns */
.cosy-customer-registration .wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 0;
    max-width: 1200px;
    /* Back to a more standard width */
    margin: 60px auto;
    background: #fff;
    border-radius: 24px;
    /* More rounded for premium feel */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 650px;
}

/* Left column (form) */
.cosy-reg-form {
    flex: 1;
    padding: 40px 45px;
    background: #ffffff;
}

/* Scoped centering and width limit for Login and Customer Registration ONLY */
.cosy-login .cosy-reg-form,
.cosy-customer-registration:not(.cosy-provider-registration) .cosy-reg-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cosy-login .cosy-reg-form form,
.cosy-login .cosy-reg-form h2,
.cosy-login .cosy-reg-form .subtitle,
.cosy-login .cosy-reg-form .footer-text,
.cosy-login .cosy-reg-form .cosy-forgot,
.cosy-customer-registration:not(.cosy-provider-registration) .cosy-reg-form form,
.cosy-customer-registration:not(.cosy-provider-registration) .cosy-reg-form h2,
.cosy-customer-registration:not(.cosy-provider-registration) .cosy-reg-form .subtitle,
.cosy-customer-registration:not(.cosy-provider-registration) .cosy-reg-form .footer-text {
    width: 100%;
    max-width: 500px;
    text-align: left;
}

/* Declarations List Styling */
.cosy-declarations-box {
    margin-bottom: 22px;
}

.cosy-declarations-header {
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cosy-declarations-header i {
    color: #a44390;
}

.cosy-declarations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cosy-declaration-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.cosy-declaration-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.45;
    margin: 0;
}

.cosy-declaration-item input[type="checkbox"] {
    accent-color: #a44390;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    cursor: pointer;
}

.cosy-declaration-wrapper span.cosy-error {
    margin-left: 26px !important;
    margin-top: 2px !important;
    font-size: 0.76rem !important;
    color: #dc2626 !important;
    font-weight: 400 !important;
}

.cosy-declaration-item a {
    color: #a44390;
    text-decoration: underline;
    font-weight: 600;
}

/* Service Provider Premium Styling */
.cosy-provider-registration .wrapper {
    max-width: 1100px;
    margin: 40px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 60px;
}

.cosy-provider-registration .cosy-reg-form {
    padding: 0;
    max-width: 100% !important;
}

.cosy-provider-registration h2 {
    text-align: center;
    margin-bottom: 60px;
    /* Increased space after title */
    font-size: 2.6rem;
    /* Slightly larger */
    position: relative;
    padding-bottom: 20px;
    color: var(--cosy-text-dark);
}

.cosy-provider-registration h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cosy-brand-purple), #d45bb1);
    border-radius: 10px;
}

/* Make button normal width and centered */
.cosy-provider-registration .button-primary {
    width: auto !important;
    min-width: 250px;
    margin: 0 auto;
    display: block;
    padding: 16px 40px !important;
}

/* Ensure Provider form remains full width of its container */
.cosy-provider-registration .cosy-reg-form form {
    max-width: 100%;
}

.cosy-provider-registration .form-group {
    margin-bottom: 20px;
}

.cosy-provider-registration .form-column .form-group:last-child {
    margin-bottom: 0;
}

.cosy-provider-registration .sign-offs-container {
    margin-top: 8px !important;
    margin-bottom: 15px;
    width: 100%;
}

.cosy-provider-registration .sign-offs-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.cosy-provider-registration .sign-off-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.cosy-provider-registration .sign-off-item input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
}

.cosy-provider-registration .sign-off-item label {
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #444;
}

.cosy-reg-form h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--cosy-text-dark);
    margin-bottom: 30px;
}

.cosy-reg-form .subtitle {
    color: var(--cosy-text-muted);
    margin-bottom: 40px;
    font-size: 1rem;
    display: block;
}

/* Form Inputs Styling */
.cosy-form input[type="text"],
.cosy-form input[type="password"],
.cosy-form input[type="email"],
.cosy-form input[type="tel"],
.cosy-form input[type="date"],
.cosy-form textarea {
    width: 100%;
    padding: 10px 20px;
    border: 1.5px solid var(--cosy-border);
    border-radius: 14px !important;
    /* Force radius for all types */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #334155;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.cosy-form input:focus,
.cosy-form textarea:focus {
    outline: none;
    border-color: var(--cosy-brand-purple);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(164, 67, 144, 0.15);
}

.cosy-password-wrapper {
    position: relative;
    width: 100%;
    margin-top: 8px;
}

.cosy-password-wrapper input {
    margin-top: 0 !important;
    padding-right: 50px !important;
}

.cosy-toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    font-size: 1.15rem;
    z-index: 10;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cosy-toggle-password:hover {
    color: var(--cosy-brand-purple);
}

.cosy-form label {
    font-weight: 600;
    color: var(--cosy-text-slate);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Button Styling */
.cosy-form .button-primary {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--cosy-brand-purple) 0%, #833573 100%);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.25);
    margin-top: 10px;
}

.cosy-form .button-primary:hover {
    background: linear-gradient(135deg, #833573 0%, var(--cosy-brand-purple) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(164, 67, 144, 0.35);
}

/* Right column (image) */
.cosy-reg-message {
    flex: 1;
    display: flex;
    align-items: stretch;
    background: #f8fafc;
    overflow: hidden;
}

.cosy-reg-message img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text elements in Form */
.cosy-reg-form .footer-text {
    text-align: center !important;
    /* Force center for footer */
    margin-top: 30px;
    font-size: 0.95rem;
    color: var(--cosy-text-muted);
}

.cosy-reg-form .footer-text a {
    color: var(--cosy-brand-purple);
    font-weight: 600;
    text-decoration: none;
}

.cosy-forgot {
    margin-top: 20px;
    text-align: center !important;
    /* Force center for forgot link */
}

.cosy-forgot a {
    color: var(--cosy-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.cosy-forgot a:hover {
    color: var(--cosy-brand-purple);
}

.cosy-reg-form a:hover,
.cosy-reg-form a:focus {
    color: var(--cosy-brand-purple) !important;
}

.terms-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.terms-container input[type="checkbox"] {
    width: auto !important;
    margin-top: 5px !important;
}

.terms-container label {
    font-size: 0.9rem !important;
    color: var(--cosy-text-muted) !important;
    font-weight: 400 !important;
    cursor: pointer;
    line-height: 1.4;
}

/* .cosy-btn-group {
    margin-top: 35px;
} */

/* Tablet & Mobile Responsiveness */
@media (max-width: 992px) {
    .cosy-customer-registration .wrapper {
        margin: 20px;
        flex-direction: column-reverse;
    }

    .cosy-reg-form {
        padding: 40px;
    }

    .cosy-reg-message {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .cosy-reg-form h2 {
        font-size: 1.8rem;
    }

    .cosy-reg-form {
        padding: 30px 20px;
    }
}

/* Two column form layout */
/* .two-column-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
} */


.cc_provider_form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.two-column-form .form-column {
    flex: 1 1 45%;
    /* each column ~half width */
}

.two-column-form .form-full {
    flex: 1 1 100%;
    /* full width row */
    margin-top: 20px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .two-column-form {
        flex-direction: column;
    }

    .two-column-form .form-column {
        flex: 1 1 100%;
    }
}

.cosy-reg-form {
    padding: 30px 0 30px;
}

.cosy-login {
    padding: 30px 0 30px;
}

.cosy-error {
    color: red;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.cosy-invalid {
    border: 1px solid red;
}

label {
    width: 100%;
}

a {
    text-decoration: none !important;
}

.cosy-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cosy-btn a {
    padding: 13px 30px;
}

.my-orders h2 {
    text-align: center;
}

.cc__dashboard .nav-link.active {
    color: #fff;
    background: #b04b92 !important;
}

.cc__dashboard .nav-link:hover {
    color: #ffffff;
    background: #b04b92 !important;
}

.cc__dashboard .nav-link {
    color: #000000;
    font-weight: 600;
}

.profile-pic,
.circle img,
.cosy-profile-card .circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.file-upload {
    display: none;
}

.circle {
    border-radius: 50% !important;
    overflow: hidden;
    width: 140px;
    height: 140px;
    border: 3px solid rgba(164, 67, 144, 0.3);
    margin: 0 auto;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

img {
    max-width: 100%;
    height: auto;
}

.p-image {
    position: absolute;
    top: 153px;
    left: 230px;
    color: #666666;
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}

.p-image:hover {
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}

.upload-button {
    font-size: 1.2em;
}

.upload-button:hover {
    transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
    color: #999;
}

.btn i {
    font-size: 18px;
    /* icon size */
    vertical-align: middle;
}

.cc__service-body .btn {
    padding: 3px 8px;
}

.btn:disabled {
    color: #bb4890 !important;
}

label.error {
    color: red;
}

.card-img-top {
    width: 100%;
    /* full width of card */
    height: 200px;
    /* fixed height */
    object-fit: cover;
    /* crop/scale image nicely */
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}



#cosy-dashboard-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* Sidebar responsive height fix */
@media (max-width: 767px) {
    #cosy-sidebar {
        min-height: auto !important;
        height: auto !important;
    }
}

/* Premium Sidebar Styling */
.cc__dashboard {
    padding-top: 10px;
}

.cosy-tab {
    border: none !important;
    background: transparent !important;
    color: #2c3e50;
    font-weight: 600 !important;
    text-align: left !important;
    padding: 14px 20px !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    white-space: nowrap;
    box-sizing: border-box !important;
}

.cosy-tab i {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
    color: #4e657a;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cosy-tab:hover {
    background: var(--cosy-brand-purple) !important;
    color: #ffffff !important;
    transform: translateX(8px);
}

.cosy-tab:hover i {
    color: #ffffff !important;
}

.cosy-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0%;
    background: var(--cosy-brand-purple);
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.cosy-tab:hover::before,
.cosy-tab.active::before {
    width: 4px;
    height: 60%;
}

.cosy-tab.active {
    background: linear-gradient(135deg, var(--cosy-brand-purple) 0%, #833573 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 15px rgba(164, 67, 144, 0.2) !important;
}

.cosy-tab.active i {
    color: #ffffff !important;
}

/* Tablet screen optimizations (768px - 991px, including 820px iPad) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #cosy-sidebar {
        padding: 20px 14px !important;
    }

    .cosy-tab {
        padding: 12px 14px !important;
        gap: 10px !important;
        font-size: 0.88rem !important;
        border-radius: 10px !important;
        margin-bottom: 8px !important;
    }

    .cosy-tab i {
        font-size: 1.05rem !important;
        width: 20px !important;
    }

    .cosy-tab:hover {
        transform: translateX(4px);
    }
}

.btn-video-overlay:hover {
    background: var(--cosy-brand-purple) !important;
    color: #fff !important;
    transform: scale(1.1);
}

.time-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.time-block {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 10px !important;
    background: #fff;
    border: 1.5px solid #edf2f7;
    color: var(--cosy-text-slate);
    font-weight: 600;
    white-space: nowrap;
}

.time-block:hover {
    border-color: var(--cosy-brand-purple) !important;
    background: var(--cosy-brand-lightest) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.1);
}

.time-block.selected {
    background: var(--cosy-brand-purple) !important;
    color: #fff !important;
    border-color: var(--cosy-brand-purple) !important;
}

@media (max-width: 576px) {
    .time-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.time-block.booked {
    background: var(--cosy-border) !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Premium Dropdown Styles */
.cosy-header-dropdown-wrapper,
.cosy-header-simple-link {
    position: relative;
    list-style: none !important;
    display: inline-block !important;
    margin-left: 20px !important;
    vertical-align: middle !important;
}

.cosy-header-simple-link a {
    color: var(--cosy-text-slate) !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    transition: color 0.3s ease;
}

.cosy-header-simple-link a:hover {
    color: var(--cosy-brand-purple) !important;
}

.cosy-dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 24px !important;
    background: var(--cosy-brand-purple) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-family: 'Poppins', sans-serif !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

.cosy-dropdown-toggle:hover {
    background: #8e367c !important;
    /* Slightly darker purple */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.3) !important;
}

.cosy-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Submenu Styling */
.cosy-custom-submenu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    background: #ffffff !important;
    min-width: 220px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 12px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    z-index: 99999 !important;
    list-style: none !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Invisible bridge to prevent closing on gap hover */
.cosy-custom-submenu::before {
    content: "" !important;
    position: absolute !important;
    top: -25px !important;
    left: 0 !important;
    width: 100% !important;
    height: 25px !important;
    background: transparent !important;
}

.cosy-header-dropdown-wrapper:hover .cosy-custom-submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.cosy-header-dropdown-wrapper:hover .cosy-arrow {
    transform: rotate(180deg);
}

.cosy-custom-submenu li {
    margin: 0 !important;
    padding: 0 !important;
}

.menu-top-menu-container ul {
    margin: 0;
}

.cosy-custom-submenu li a {
    display: block !important;
    padding: 10px 16px !important;
    color: var(--cosy-text-slate) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
}

.cosy-custom-submenu li a:hover {
    background: rgba(164, 67, 144, 0.08) !important;
    color: var(--cosy-brand-purple) !important;
    padding-left: 20px !important;
}

/* Fix for some themes menu wrapping */
#wpadminbar {
    z-index: 99999 !important;
}

/* ============================================================
   NON WORKING DAYS — Bento Card Style
   ============================================================ */

.cosy-holidays-card {
    background: #ffffff;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-holidays-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text-dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Holiday List Items --- */
.cosy-holidays-card .holiday-list {
    min-height: 60px;
}

.cosy-holidays-card .holiday-item {
    background: #f8fafc;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.cosy-holidays-card .holiday-item:hover {
    border-color: rgba(164, 67, 144, 0.3);
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.08);
}

.cosy-holidays-card .holiday-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cosy-holidays-card .holiday-date {
    font-weight: 700;
    color: var(--cosy-text-dark);
    font-size: 0.95rem;
    white-space: nowrap;
}

.cosy-holidays-card .holiday-reason {
    color: var(--cosy-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.cosy-holidays-card .holiday-badge {
    background: rgba(164, 67, 144, 0.1) !important;
    color: var(--cosy-brand-purple) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Delete button */
.cosy-delete-holiday-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid transparent;
    background: rgba(239, 68, 68, 0.07);
    color: var(--cosy-danger);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.cosy-delete-holiday-btn:hover {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 576px) {
    .cosy-holidays-card .holiday-item {
        padding: 12px 14px !important;
        gap: 8px !important;
    }

    .cosy-holidays-card .holiday-icon-box {
        width: 34px !important;
        height: 34px !important;
        border-radius: 10px !important;
    }

    .cosy-holidays-card .holiday-date {
        font-size: 0.88rem !important;
    }

    .cosy-holidays-card .holiday-reason {
        font-size: 0.8rem !important;
        max-width: 140px !important;
    }

    .cosy-holidays-card .holiday-badge {
        padding: 4px 8px !important;
        font-size: 0.72rem !important;
    }

    .cosy-delete-holiday-btn {
        width: 30px !important;
        height: 30px !important;
    }

    .cosy-delete-holiday-btn i {
        font-size: 0.75rem !important;
    }
}

/* --- Add Holiday Button --- */
.cosy-holidays-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 12px 40px !important;
    font-weight: 600;
    color: var(--cosy-white) !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
}

/* --- Empty State --- */
.holidays-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.holidays-empty-state i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: rgba(164, 67, 144, 0.3);
}

.holidays-empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================================
   HOLIDAYS MODAL STYLES
   ============================================================ */

.cosy-modal-content {
    border-radius: 20px !important;
    border: none !important;
    background: #ffffff !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3) !important;
}

.cosy-modal-header {
    background: var(--cosy-gradient) !important;
    color: #ffffff !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 20px 25px !important;
    border: none !important;
}

.cosy-modal-body {
    padding: 25px 30px !important;
    background: #ffffff !important;
    border-radius: 0 0 20px 20px !important;
}

.cosy-modal-body .form-control {
    border-radius: 12px !important;
    padding: 12px 16px !important;
    background: #f8fafc !important;
    border: 1.5px solid var(--cosy-border) !important;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s ease;
}

.cosy-modal-body .form-control:focus {
    border-color: var(--cosy-brand-purple) !important;
    box-shadow: 0 0 0 3px rgba(164, 67, 144, 0.1) !important;
    background: #fff !important;
}

.cosy-modal-header .btn-close {
    box-shadow: none !important;
    background-color: transparent !important;
    outline: none !important;
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cosy-modal-header .btn-close:hover,
.cosy-modal-header .btn-close:focus {
    background-color: transparent !important;
    opacity: 1;
    transform: scale(1.1);
    box-shadow: none !important;
}

.save-holiday-btn,
.save-holiday-btn:hover,
.save-holiday-btn:focus,
.save-holiday-btn:active {
    background: var(--cosy-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 40px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    outline: none !important;
}

.save-holiday-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    color: #ffffff !important;
    background: var(--cosy-gradient) !important;
    box-shadow: none !important;
}

/* Ensure SweetAlert appears above modals with high z-index and has premium styling */
.swal2-container {
    z-index: 999999 !important;
}

body .swal2-container {
    font-family: 'Poppins', sans-serif !important;
}

body .swal2-popup {
    border-radius: 24px !important;
    padding: 40px 30px 40px 30px !important;
    /* Perfectly equal 40px top and bottom padding */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
    border: none !important;
}

body .swal2-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    color: var(--cosy-text-dark) !important;
    /* margin-top: 15px !important;
    margin-bottom: 10px !important; */
}

body .swal2-html-container {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    color: var(--cosy-text-slate) !important;
    line-height: 1.6 !important;
    /* margin-bottom: 25px !important; */
}

body .swal2-confirm,
body .swal2-cancel {
    color: #ffffff !important;
    border-radius: 12px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 12px 35px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

body .swal2-confirm:focus,
body .swal2-cancel:focus,
body .swal2-styled:focus {
    outline: none !important;
    box-shadow: none !important;
}

body .swal2-confirm:hover,
body .swal2-cancel:hover {
    transform: translateY(-2px);
    filter: brightness(0.92);
}



body .swal2-actions {
    gap: 12px !important;
}

body .swal2-icon {
    border-width: 3px !important;
    transform: scale(1.1);
    margin: 0 auto 15px auto !important;
    /* Reset high 2.5em top margin of SweetAlert default icon to balance spacing */
}

/* ==========================================================================
   COSY PROVIDER DASHBOARD: PROFILE INFORMATION CARD
   ========================================================================== */
.cosy-profile-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-profile-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-profile-card .form-label {
    font-family: var(--cosy-font-family);
    font-weight: 600;
    color: var(--cosy-subtext);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cosy-profile-card .form-control,
.cosy-profile-card .form-select {
    border: 1.5px solid var(--cosy-border) !important;
    border-radius: var(--cosy-border-radius) !important;
    font-family: var(--cosy-font-family);
    font-size: 0.95rem;
    color: var(--cosy-text);
    background-color: var(--cosy-bg) !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.cosy-profile-card .form-select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%239b4593%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1.1em !important;
}

.cosy-profile-card .form-control:focus,
.cosy-profile-card .form-select:focus {
    border-color: var(--cosy-primary-color) !important;
    background-color: var(--cosy-white) !important;
    box-shadow: 0 0 0 4px rgba(155, 69, 147, 0.1) !important;
}

.cosy-profile-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 14px 45px !important;
    color: var(--cosy-white) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
}

.cosy-profile-card .circle {
    width: 140px;
    height: 140px;
    border: 5px solid var(--cosy-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 50%;
    background-color: #f8fafc;
}

.cosy-profile-card .circle img,
.cosy-profile-card .profile-pic {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.cosy-profile-card .p-image {
    background: var(--cosy-primary-color);
    color: var(--cosy-white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--cosy-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Customer Reviews Dashboard Card Styling */
.cosy-reviews-card {
    background: var(--cosy-white);
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-reviews-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-reviews-card .rating-number {
    font-family: var(--cosy-font-family);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--cosy-primary-color);
    line-height: 1;
}

.cosy-reviews-card .progress {
    height: 8px !important;
    border-radius: 10px !important;
    background-color: #f1f5f9 !important;
}

.cosy-reviews-card .progress-bar {
    background-color: var(--cosy-primary-color) !important;
    border-radius: 10px !important;
}

.cosy-reviews-card .review-item {
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.cosy-reviews-card .review-item:hover {
    border-color: var(--cosy-primary-color);
    background: var(--cosy-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cosy-reviews-card .verified-badge {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--cosy-success) !important;
    font-size: 0.65rem !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-left: 8px;
}

.cosy-reviews-card .star-active {
    color: #f59e0b;
}

.cosy-reviews-card .star-inactive {
    color: var(--cosy-border);
}

.cosy-reviews-card .custom-btn-outline {
    border: 1.5px solidvar(--cosy-primary-color) !important;
    color: var(--cosy-primary-color) !important;
    border-radius: 12px !important;
    padding: 10px 30px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cosy-reviews-card .custom-btn-outline:hover {
    background: var(--cosy-primary-color) !important;
    color: var(--cosy-white) !important;
}

/* ============================================================
   COSY PROVIDER DASHBOARD: AVAILABILITY CARD
   ============================================================ */
.cosy-availability-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-availability-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-availability-card .form-label {
    font-family: var(--cosy-font-family);
    font-weight: 600;
    color: var(--cosy-subtext);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cosy-availability-card .form-control,
.cosy-availability-card .form-select {
    border: 1.5px solid var(--cosy-border) !important;
    border-radius: var(--cosy-border-radius) !important;
    background-color: var(--cosy-bg) !important;
    font-family: var(--cosy-font-family);
    font-size: 0.95rem;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

.cosy-availability-card .form-control:focus,
.cosy-availability-card .form-select:focus {
    border-color: var(--cosy-primary-color) !important;
    background-color: var(--cosy-white) !important;
    box-shadow: 0 0 0 4px rgba(155, 69, 147, 0.1) !important;
}

.cosy-availability-card .preview-container {
    background: var(--cosy-bg);
    border-radius: 15px;
    border: 1px solid var(--cosy-border);
    padding: 25px;
}

.cosy-availability-card .preview-container h5 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1rem;
    color: var(--cosy-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.cosy-availability-card .availability-badge {
    background: var(--cosy-white) !important;
    color: var(--cosy-primary-color) !important;
    border: 1px solid rgba(155, 69, 147, 0.2) !important;
    padding: 8px 15px !important;
    border-radius: 10px !important;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.cosy-availability-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 14px 45px !important;
    font-weight: 600;
    color: var(--cosy-white) !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
}

/* ============================================================
   COSY PROVIDER DASHBOARD: MEDIA UPLOAD CARD
   ============================================================ */
.cosy-video-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-video-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-video-card .video-dropzone {
    border: 2.5px dashed var(--cosy-primary-color) !important;
    background: #fdf8fc !important;
    border-radius: 20px !important;
    transition: all 0.3s ease;
    min-height: 340px !important;
    padding: 60px 30px !important;
}

.cosy-video-card .video-dropzone:hover {
    border-color: #6d2e67 !important;
    background: #fcf0fa !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(164, 67, 144, 0.1);
}

.cosy-video-card .video-dropzone.drag-over {
    border-color: #6d2e67 !important;
    background: #f5e0f2 !important;
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(164, 67, 144, 0.2);
}

.cosy-video-card .video-dropzone i {
    color: var(--cosy-primary-color) !important;
    font-size: 72px !important;
    margin-bottom: 15px;
}

.cosy-video-card .video-dropzone span {
    color: #475569 !important;
    font-family: var(--cosy-font-family);
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

.cosy-video-card video {
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    max-height: 550px !important;
    object-fit: contain;
}

.cosy-video-card .remove-video {
    background: var(--cosy-white) !important;
    color: #dc2626 !important;
    border: 1px solid rgba(220, 38, 38, 0.15) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
    outline: none !important;
    text-decoration: none !important;
    z-index: 5;
}

.cosy-video-card .remove-video i {
    font-size: 16px !important;
    color: #dc2626 !important;
    display: block !important;
    transition: transform 0.25s ease, color 0.25s ease !important;
    line-height: 1 !important;
}

.cosy-video-card .remove-video:hover {
    transform: scale(1.1) !important;
    background: rgba(220, 38, 38, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
}

.cosy-video-card .remove-video:hover i {
    color: #ffffff !important;
    transform: rotate(90deg) !important;
}

.cosy-video-card .remove-video:active {
    transform: scale(0.95) !important;
}

.cosy-video-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 12px 35px !important;
    font-weight: 600;
    color: var(--cosy-white) !important;
}

/* ============================================================
   COSY PROVIDER DASHBOARD: SERVICES CARD
   ============================================================ */
.cosy-services-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-services-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--cosy-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cosy-services-card .service-checkbox-container {
    background: var(--cosy-bg);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--cosy-border);
    margin-bottom: 30px;
}

.cosy-services-card .form-check-input:checked {
    background-color: var(--cosy-primary-color) !important;
    border-color: var(--cosy-primary-color) !important;
}

.cosy-services-card .table {
    border-collapse: separate;
    border-spacing: 0 10px;
    border: none !important;
}

.cosy-services-card .table thead th {
    background: #f1f5f9 !important;
    color: var(--cosy-subtext) !important;
    font-family: var(--cosy-font-family);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 15px !important;
    border: none !important;
}

.cosy-services-card .table tbody tr {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cosy-services-card .table tbody td {
    background: var(--cosy-white) !important;
    padding: 15px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.cosy-services-card .table tbody td:first-child {
    border-left: 1px solid #f1f5f9 !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.cosy-services-card .table tbody td:last-child {
    border-right: 1px solid #f1f5f9 !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.cosy-services-card .form-control,
.cosy-services-card .form-select {
    border: 1.5px solid var(--cosy-border) !important;
    border-radius: 10px !important;
    background-color: var(--cosy-bg) !important;
    font-size: 0.9rem;
    padding: 8px 12px !important;
}

.cosy-services-card .form-control:focus,
.cosy-services-card .form-select:focus {
    border-color: var(--cosy-primary-color) !important;
    background-color: var(--cosy-white) !important;
    box-shadow: 0 0 0 3px rgba(155, 69, 147, 0.1) !important;
}

.cosy-services-card .btn-success {
    background: var(--cosy-primary-color) !important;
    border: none !important;
    border-radius: 10px !important;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cosy-services-card .btn-danger {
    background: #fee2e2 !important;
    color: var(--cosy-danger) !important;
    border: none !important;
    border-radius: 10px !important;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   COSY PROVIDER DASHBOARD: ORDERS CARD
   ============================================================ */
.cosy-orders-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-orders-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-orders-card .form-control,
.cosy-orders-card .form-select {
    border: 1.5px solid var(--cosy-border) !important;
    border-radius: 12px !important;
    background-color: var(--cosy-bg) !important;
    font-family: var(--cosy-font-family);
    font-size: 0.9rem;
    padding: 10px 15px !important;
}

.cosy-orders-card .form-control:focus,
.cosy-orders-card .form-select:focus {
    border-color: var(--cosy-primary-color) !important;
    background-color: var(--cosy-white) !important;
    box-shadow: 0 0 0 4px rgba(155, 69, 147, 0.1) !important;
}

.cosy-orders-card .table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.cosy-orders-card .table thead th {
    background: #f1f5f9 !important;
    color: var(--cosy-subtext) !important;
    font-family: var(--cosy-font-family);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 15px !important;
    border: none !important;
}

.cosy-orders-card .table tbody tr {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cosy-orders-card .table tbody td {
    background: var(--cosy-white) !important;
    padding: 15px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.cosy-orders-card .table tbody td:first-child {
    border-left: 1px solid #f1f5f9 !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.cosy-orders-card .table tbody td:last-child {
    border-right: 1px solid #f1f5f9 !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.cosy-orders-card .badge {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cosy-orders-card .badge-pending {
    background: rgba(155, 69, 147, 0.1) !important;
    color: var(--cosy-primary-color) !important;
}

.cosy-orders-card .badge-completed {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--cosy-success) !important;
}

.cosy-orders-card .badge-cancelled {
    background: rgba(239, 68, 68, 0.1) !important;
    color: var(--cosy-danger) !important;
}

.cosy-orders-card .btn-action {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0 !important;
}

.cosy-orders-card .btn-view {
    background: #f1f5f9 !important;
    color: var(--cosy-subtext) !important;
}

.cosy-orders-card .btn-view:hover {
    background: var(--cosy-border) !important;
    color: var(--cosy-text) !important;
}

.cosy-orders-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 11px 25px !important;
    min-height: 46px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cosy-white) !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
}

.cosy-orders-card .pagination .page-link {
    border: none !important;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 10px !important;
    color: var(--cosy-subtext);
    font-weight: 600;
}

.cosy-orders-card .pagination .page-item.active .page-link {
    background: var(--cosy-primary-color) !important;
    color: var(--cosy-white) !important;
    box-shadow: 0 4px 10px rgba(155, 69, 147, 0.2) !important;
}

.cosy-modal-content {
    border-radius: 20px !important;
    border: none !important;
    overflow: hidden;
}

.cosy-modal-header {
    background: var(--cosy-primary-color) !important;
    color: var(--cosy-white) !important;
    padding: 20px 30px !important;
    border: none !important;
}

/* ============================================================
   COSY PROVIDER DASHBOARD: INVOICES CARD
   ============================================================ */
.cosy-invoices-card {
    background: var(--cosy-white);
    border-radius: var(--cosy-border-radius-lg) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
    padding: 30px;
}

.cosy-invoices-card h3 {
    font-family: var(--cosy-font-family);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cosy-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosy-invoices-card .table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.cosy-invoices-card .table thead th {
    background: #f1f5f9 !important;
    color: var(--cosy-subtext) !important;
    font-family: var(--cosy-font-family);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 15px !important;
    border: none !important;
}

.cosy-invoices-card .table tbody tr {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.cosy-invoices-card .table tbody td {
    background: var(--cosy-white) !important;
    padding: 15px !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.cosy-invoices-card .table tbody td:first-child {
    border-left: 1px solid #f1f5f9 !important;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.cosy-invoices-card .table tbody td:last-child {
    border-right: 1px solid #f1f5f9 !important;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.cosy-invoices-card .badge {
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cosy-invoices-card .badge-paid {
    background: rgba(34, 197, 94, 0.1) !important;
    color: var(--cosy-success) !important;
}

.cosy-invoices-card .badge-pending {
    background: rgba(155, 69, 147, 0.1) !important;
    color: var(--cosy-primary-color) !important;
}

.cosy-invoices-card .btn-action {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    min-height: 35px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0 !important;
}

.cosy-invoices-card .btn-view {
    background: #f1f5f9 !important;
    color: var(--cosy-subtext) !important;
}

.cosy-invoices-card .btn-download {
    background: rgba(155, 69, 147, 0.1) !important;
    color: var(--cosy-primary-color) !important;
}

.cosy-invoices-card .custom-btn {
    background: var(--cosy-gradient) !important;
    border: none !important;
    border-radius: var(--cosy-border-radius) !important;
    padding: 14px 45px !important;
    font-weight: 600;
    color: var(--cosy-white) !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
}

/* --- Provider Orders Dashboard Styles --- */
.cosy-orders-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(109, 46, 103, 0.04);
}

.header-icon-badge {
    background: rgba(164, 67, 144, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon-badge i {
    color: var(--cosy-brand-purple);
    font-size: 1.2rem;
}

.cosy-orders-card h3 {
    color: var(--cosy-text-dark);
    font-family: 'Outfit', sans-serif;
}

.cosy-orders-subtitle {
    margin-left: 58px;
    font-size: 0.9rem;
}

.search-icon-abs {
    top: 15px;
    left: 18px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.cosy-orders-filter-input {
    padding-left: 45px !important;
    height: 46px;
    font-size: 0.9rem;
}

.cosy-orders-filter-select {
    height: 46px;
    font-size: 0.9rem;
    color: var(--cosy-text-slate);
}

.cosy-orders-export-btn,
.cosy-orders-export-btn:hover,
.cosy-orders-export-btn:focus,
.cosy-orders-export-btn:active {
    background: var(--cosy-gradient) !important;
    border: none !important;
    height: 46px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(155, 69, 147, 0.2) !important;
    outline: none !important;
}

#providerOrdersTable {
    border-collapse: separate;
    min-width: 880px;
}

#providerOrdersTable,
#providerOrdersTable th,
#providerOrdersTable td {
    border-left: 0 !important;
    border-right: 0 !important;
}

#providerOrdersTable thead tr {
    border-bottom: 2px solid #edf2f7;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
}

.cosy-orders-card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.cosy-orders-card .table-responsive::-webkit-scrollbar {
    height: 6px;
}

.cosy-orders-card .table-responsive::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.cosy-orders-card .table-responsive::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.cosy-orders-card .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.order-table-row {
    border-bottom: 1px solid #edf2f7;
    transition: all 0.2s;
}

.order-table-row:hover {
    background-color: #f8fafc;
}

.order-customer-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cosy-brand-purple);
    border: 1.5px solid var(--cosy-brand-light);
}

.order-customer-name {
    color: #334155;
    text-transform: capitalize;
}

.invoice-customer-name {
    text-transform: capitalize;
}

.order-service-badge {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--cosy-text-slate) !important;
}

.order-date-cell {
    font-size: 0.85rem;
    color: var(--cosy-text-muted);
}

.order-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.order-action-btn i {
    font-size: 0.8rem;
}

.order-action-btn.bg-success {
    background-color: #0ca678 !important;
}

.order-action-btn.bg-danger {
    background-color: #fa5252 !important;
}

.badge-completed {
    background: #e6fcf5 !important;
    color: #0ca678 !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-cancelled {
    background: #fff5f5 !important;
    color: #fa5252 !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.badge-pending {
    background: var(--cosy-brand-lightest) !important;
    color: var(--cosy-brand-purple) !important;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.cosy-modal-content {
    border-radius: 20px;
}

.cosy-modal-header-gradient {
    background: linear-gradient(135deg, var(--cosy-brand-purple) 0%, var(--cosy-brand-dark) 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.cosy-modal-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff !important;
}

.modal-info-box-primary {
    background-color: var(--cosy-brand-lightest);
    border: 1px solid var(--cosy-brand-light);
}

.modal-info-title {
    font-family: 'Outfit', sans-serif;
}

.modal-icon-primary {
    color: var(--cosy-brand-purple) !important;
}

.modal-customer-name {
    color: var(--cosy-text-dark);
}

.modal-info-box-secondary {
    border: 1px solid var(--cosy-border);
}

.modal-small-info {
    font-size: 0.8rem;
}

.modal-cost-info {
    color: var(--cosy-brand-purple) !important;
    font-size: 1.1rem;
}

.modal-status-box {
    border-color: var(--cosy-brand-light) !important;
    background-color: var(--cosy-brand-lightest);
}

.modal-status-title {
    font-size: 0.85rem;
}

.btn-modal-close {
    background: #cbd5e1 !important;
    border: none;
    color: var(--cosy-text-slate) !important;
}

.btn-modal-complete {
    background: #0ca678 !important;
    border: none;
    color: #ffffff !important;
}

.btn-modal-cancel {
    background: #fa5252 !important;
    border: none;
    color: #ffffff !important;
}

.order-empty-icon {
    color: #cbd5e1;
}

/* Modal Field Wrapping Safeguards */
#modalCustRecipientName,
#modalCustProviderName,
#modalCustStartDate,
#modalCustWeeks {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

#modalCustRecipientEmail,
#modalCustRecipientInfo {
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

#modalCustGiftRow {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

#modalCustSlotsTimeline {
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    white-space: normal !important;
}

/* --- Provider Invoices Dashboard Styles --- */
.cosy-invoices-subtitle {
    margin-left: 58px;
    font-size: 0.9rem;
}

#providerInvoicesTable,
#providerInvoicesTable th,
#providerInvoicesTable td {
    border-left: 0 !important;
    border-right: 0 !important;
}

#providerInvoicesTable thead tr {
    border-bottom: 2px solid #f1f5f9;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cosy-text-muted);
}

.invoice-table-row {
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}

.invoice-table-row:hover {
    background-color: #f8fafc;
}

.invoice-customer-name {
    color: #334155;
}

.invoice-service-badge {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--cosy-text-slate) !important;
}

.invoice-date-cell {
    font-size: 0.85rem;
    color: var(--cosy-text-muted);
}

.invoice-amount-cell {
    color: #334155;
}

.invoice-status-paid {
    background: #e6fcf5 !important;
    color: #0ca678 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
}

.invoice-action-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
}

.invoice-action-btn:hover {
    background-color: var(--cosy-border) !important;
    color: var(--cosy-text-dark) !important;
}

.invoice-action-btn i {
    font-size: 0.8rem;
}

.invoice-empty-icon {
    color: #cbd5e1;
}

.invoice-modal-header-gradient {
    background: linear-gradient(135deg, var(--cosy-brand-purple) 0%, var(--cosy-brand-dark) 100%) !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.invoice-modal-title {
    font-family: 'Outfit', sans-serif;
    color: #ffffff !important;
}

.invoice-modal-info-box-primary {
    background-color: var(--cosy-brand-lightest) !important;
    border: 1px solid var(--cosy-brand-light) !important;
}

.invoice-modal-info-title {
    font-family: 'Outfit', sans-serif;
}

.invoice-modal-icon-primary {
    color: var(--cosy-brand-purple) !important;
}

.invoice-modal-customer-name {
    color: var(--cosy-text-dark) !important;
}

.invoice-modal-info-box-secondary {
    border: 1px solid var(--cosy-border) !important;
}

.invoice-modal-small-info {
    font-size: 0.8rem !important;
}

.invoice-modal-cost-info {
    color: var(--cosy-brand-purple) !important;
    font-size: 1.1rem !important;
}

.invoice-btn-modal-download {
    background: linear-gradient(135deg, var(--cosy-brand-purple), var(--cosy-brand-dark)) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.2) !important;
}

.invoice-btn-modal-download:hover {
    opacity: 0.9;
}

.cosy-invoices-title {
    color: var(--cosy-text-dark);
    font-family: 'Outfit', sans-serif;
}

/* ============================================================ */
/* CHECKOUT TEMPLATE STYLES */
/* ============================================================ */

/* Premium Checkout Theme Core Override */
.cosy-checkout-root {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: transparent;
    color: var(--cosy-text-dark);
    min-height: auto;
    padding: 50px 0 50px 0;
    /* Generous top padding for clean spacing below header */
}

.cosy-checkout-root h2,
.cosy-checkout-root h3,
.cosy-checkout-root h4,
.cosy-checkout-root h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.cosy-checkout-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header navigation matching profile styles */
.cosy-checkout-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--cosy-brand-light);
    padding-bottom: 20px;
}

.cosy-checkout-back-btn {
    background: transparent !important;
    color: #a44390 !important;
    border: none;
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none !important;
}

.cosy-checkout-back-btn:hover {
    background: transparent !important;
    color: #6d2e67 !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.cosy-checkout-back-btn i,
.cosy-checkout-back-btn svg {
    color: inherit;
    font-size: 0.95rem;
    /* Match text size proportions */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: auto;
    width: auto;
}

.cosy-checkout-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cosy-brand-dark);
    /* Branded deep purple */
    margin: 0;
    letter-spacing: -0.5px;
}

/* Bento Cards Styling */
.cosy-bento-panel {
    background: #ffffff;
    border-radius: 18px;
    /* Elegant curves */
    border: 1px solid var(--cosy-brand-light);
    box-shadow: 0 10px 30px rgba(109, 46, 103, 0.04);
    margin-bottom: 30px;
    overflow: hidden;
}

.cosy-bento-panel-header {
    background: var(--cosy-brand-lightest);
    /* Selected service row color tint */
    border-bottom: 1px solid var(--cosy-brand-light);
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cosy-brand-dark);
    /* Branded purple heading */
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cosy-bento-panel-header::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 18px;
    background: var(--cosy-brand-purple);
    border-radius: 3px;
}

.cosy-bento-panel-body {
    padding: 24px;
}

/* Table layout matches screenshot design exactly */
.cosy-checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.cosy-checkout-table tr {
    border-bottom: 1px solid var(--cosy-brand-lightest);
}

.cosy-checkout-table tr:last-child {
    border-bottom: none;
}

.cosy-checkout-table td {
    padding: 13px 18px;
    font-size: 0.92rem;
    color: var(--cosy-text-slate);
    vertical-align: middle;
}

.cosy-checkout-table td.label-col {
    width: 38%;
    font-weight: 600;
    color: var(--cosy-text-slate);
    word-break: break-word;
}

.cosy-checkout-table td.separator-col {
    width: 20px;
    text-align: center;
    color: #c25ca9;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.cosy-checkout-table td.value-col {
    width: 56%;
    font-weight: 600;
    color: var(--cosy-text-dark);
    word-break: break-word;
}

/* Striped rows inside tables to match screenshot exactly */
.cosy-checkout-table tr:nth-child(odd) td {
    background-color: #fdfafc;
}

/* Call Schedule Slot Modal Trigger Button */
.btn-open-time-modal {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: 96px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Pricing specific typography */
.cost-value {
    font-weight: 700;
}

.total-payable-row td {
    background-color: var(--cosy-brand-lightest) !important;
}

.total-payable-row td.value-col {
    color: var(--cosy-brand-purple);
    /* Brand Accent purple for total */
    font-size: 1.15rem;
    font-weight: 800;
}

/* Worldpay Information Section */
.cosy-checkout-disclaimer {
    font-size: 0.8rem;
    color: var(--cosy-text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    background: rgba(253, 242, 251, 0.4);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1.5px solid var(--cosy-brand-light);
}

.cosy-checkout-disclaimer a {
    color: var(--cosy-brand-purple);
    text-decoration: underline;
    font-weight: 600;
}

.cosy-checkout-disclaimer a:hover {
    color: var(--cosy-brand-dark);
}

/* Payment Logos Grid */
.cosy-payment-logos-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 40px;
}

.cosy-worldpay-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cosy-text-slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cosy-worldpay-brand span {
    color: var(--cosy-brand-purple);
}

.cosy-payment-card-icons {
    display: flex;
    gap: 10px;
}

.cosy-payment-card-icons svg,
.cosy-payment-card-icons img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* Pay Now Button (Bottom Left) */
.cosy-pay-now-btn {
    background: linear-gradient(135deg, var(--cosy-brand-purple) 0%, var(--cosy-brand-dark) 100%);
    /* Premium brand purple gradient */
    color: #ffffff;
    border: none;
    padding: 16px 50px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    /* Curvy matching theme */
    box-shadow: 0 8px 20px rgba(164, 67, 144, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cosy-pay-now-btn:hover {
    background: linear-gradient(135deg, #b852a3 0%, #7d3b76 100%);
    box-shadow: 0 10px 25px rgba(164, 67, 144, 0.35);
    transform: translateY(-2px);
}

/* Empty state */
.cosy-checkout-empty-state {
    text-align: center;
    padding: 60px 40px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--cosy-border);
}

.cosy-checkout-empty-state i {
    font-size: 3rem;
    color: var(--cosy-brand-purple);
    margin-bottom: 20px;
}

.cosy-checkout-empty-state h3 {
    font-weight: 800;
    color: var(--cosy-text-dark);
    margin-bottom: 10px;
}

.cosy-checkout-empty-state p {
    color: var(--cosy-text-muted);
    margin-bottom: 24px;
}

/* Booking for another person checkbox section */
.bookingForAnother {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* CUSTOM POPUP BUTTON STYLES FOR THEME DESIGN */
#registerPopup .button {
    display: inline-block;
    flex: 1;
    min-width: 140px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cosy-brand-purple, #a44390) 0%, #833573 100%);
    border-radius: 12px;
    color: #fff !important;
    font-family: var(--cosy-font-family, 'Poppins', sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.25);
    border: none;
}

#registerPopup .button:hover {
    background: linear-gradient(135deg, #833573 0%, var(--cosy-brand-purple, #a44390) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(164, 67, 144, 0.35);
}

.cc__choose {
    font-size: 22px;
    font-weight: 600;
}




#registerPopup .popup-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 30px 130px !important;
}

#formContainer {
    width: 100%;
}

span#closePopup {
    cursor: pointer;
}

/* Universal High-Contrast Disabled/Processing Buttons */
button:disabled,
button[disabled],
.btn:disabled,
.btn[disabled],
.cosy-btn-filled:disabled,
.cosy-modal-confirm-btn:disabled,
button:disabled *,
button[disabled] *,
.btn:disabled *,
.btn[disabled] * {
    color: #ffffff !important;
    opacity: 0.95 !important;
    -webkit-text-fill-color: #ffffff !important;
}

button:disabled i,
button[disabled] i,
.btn:disabled i,
.btn[disabled] i {
    color: #ffffff !important;
    opacity: 1 !important;
    display: inline-block !important;
}

/* Invalid Input Field Border (Text & Placeholder color stay normal #334155) */
input.cosy-error,
textarea.cosy-error,
select.cosy-error {
    border-color: #ef4444 !important;
    color: #334155 !important;
    -webkit-text-fill-color: #334155 !important;
}

/* Universal Validation Error Message Text Styling ONLY */
span.cosy-error,
label.cosy-error,
span.error,
label.error,
.cosy-form span.cosy-error,
.cosy-form label.cosy-error,
.cosy-declarations-box span.cosy-error,
.cosy-declaration-item+span.cosy-error,
.form-group span.cosy-error {
    display: block !important;
    color: #dc2626 !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 3px !important;
    margin-bottom: 5px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important;
    -webkit-text-fill-color: #dc2626 !important;
}

/* ============================================================
   THREADED REVIEWS & DASHBOARD STYLES
   ============================================================ */

.cosy-review-thread-wrap {
    position: relative;
    margin-top: 1rem;
    padding-top: 0.25rem;
    width: 100%;
    min-width: 0;
}

.cosy-thread-provider-box {
    background: #fdf5fc;
    border-left: 3px solid #a44390;
    padding: 10px 14px;
    margin-bottom: 0.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cosy-thread-customer-box {
    background: #ffffff;
    border-left: 3px solid #6d2e67;
    border: 1px solid #f3e8fc;
    padding: 10px 14px;
    margin-bottom: 0.5rem;
    margin-left: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cosy-thread-sender-name {
    font-weight: 700;
    color: #6d2e67;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.cosy-thread-sender-icon-provider {
    color: #a44390;
    font-size: 0.78rem;
}

.cosy-thread-sender-icon-customer {
    color: #6d2e67;
    font-size: 0.78rem;
}

.cosy-thread-date {
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
}

.cosy-thread-body-provider {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #334155;
    margin-top: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cosy-thread-body-customer {
    margin-bottom: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #1e293b;
    margin-top: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.cosy-btn-reply-toggle {
    background: #a44390;
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.6;
    padding: 2px 10px;
    border: none;
}

.cosy-btn-reply-toggle:hover {
    background: #6d2e67;
    color: #ffffff;
}

@media (max-width: 576px) {
    .cosy-reviews-card .card-body {
        padding: 16px 12px !important;
    }

    .reviews-list .card .card-body {
        padding: 14px 12px !important;
    }

    .reviews-list .cosy-review-avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 0.95rem !important;
    }

    .reviews-list .gap-3 {
        gap: 10px !important;
    }

    .cosy-thread-customer-box {
        margin-left: 0 !important;
    }

    .cosy-thread-provider-box,
    .cosy-thread-customer-box {
        padding: 8px 10px !important;
    }

    .cosy-thread-sender-name {
        font-size: 0.78rem !important;
    }

    .cosy-thread-date {
        font-size: 0.68rem !important;
    }

    .cosy-thread-body-provider,
    .cosy-thread-body-customer {
        font-size: 0.82rem !important;
    }
}

.cosy-sidebar-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

/* ============================================================
   COSY PROVIDER GRID PAGINATION STYLES (ROUNDED PILL DESIGN)
   ============================================================ */
.cosy-pagination-container {
    margin-top: 2rem !important;
}

.cosy-pagination-nav .pagination {
    gap: 6px !important;
}

.cosy-pagination-nav .cosy-page-link,
.cosy-pagination-nav .page-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    cursor: pointer;
}

.cosy-pagination-nav .cosy-page-link:hover:not(:disabled):not(.active-page) {
    background-color: #f8fafc !important;
    color: #6d2e67 !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
}

.cosy-pagination-nav .page-item.active .cosy-page-link,
.cosy-pagination-nav .cosy-page-link.active-page {
    background: linear-gradient(135deg, #a44390 0%, #6d2e67 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(109, 46, 103, 0.3) !important;
}

/* Explicit styling for Disabled Prev / Next buttons */
.cosy-pagination-nav .page-item.disabled .cosy-page-link,
.cosy-pagination-nav .page-item.disabled .page-link,
.cosy-pagination-nav .cosy-page-link:disabled,
.cosy-pagination-nav .cosy-page-link[disabled] {
    color: #94a3b8 !important;
    /* Visible muted gray text */
    background-color: #f1f5f9 !important;
    /* Soft light gray background */
    border-color: #e2e8f0 !important;
    opacity: 0.75 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* ============================================================
   GLOBAL INTRO VIDEO POPUP MODAL STYLES
   ============================================================ */
#videoModal {
    display: none;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.95) !important;
    z-index: 99999999 !important;
    justify-content: center !important;
    align-items: center !important;
    backdrop-filter: blur(8px) !important;
}

.cosy-video-modal-content-v2 {
    width: 90% !important;
    max-width: 850px !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: 80vh !important;
    background: #000000 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto !important;
}

.cosy-video-modal-content-v2 video,
.cosy-video-modal-content-v2 iframe {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.close-modal {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    z-index: 999999 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    outline: none !important;
    text-decoration: none !important;
}

.close-modal svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #ffffff !important;
    display: block !important;
    margin: auto !important;
    transition: transform 0.25s ease !important;
}

.close-modal:hover {
    background: rgba(220, 38, 38, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45) !important;
}

.close-modal:hover svg {
    transform: rotate(90deg) !important;
}

/* ============================================================
   STANDALONE LEAVE REVIEW FORM STYLES
   ============================================================ */
.cosy-leave-review-root {
    width: 100% !important;
    max-width: 650px !important;
    margin: 40px auto !important;
    padding: 0 15px !important;
    font-family: 'Poppins', sans-serif !important;
    box-sizing: border-box !important;
}

.cosy-leave-review-root .card {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(164, 67, 144, 0.1) !important;
    overflow: hidden !important;
}

.cosy-leave-review-root .card-header {
    background: linear-gradient(135deg, #a44390 0%, #6d2e67 100%) !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 30px 25px !important;
    border: none !important;
}

.cosy-leave-review-root .card-header h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
}

.cosy-leave-review-root .card-header p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    margin: 0 !important;
}

.cosy-leave-review-root .card-body {
    padding: 35px 30px !important;
    background: #ffffff !important;
}

.cosy-leave-review-root .session-info-card {
    background: #fdf5fc !important;
    border: 1.5px solid rgba(164, 67, 144, 0.2) !important;
    border-radius: 14px !important;
    padding: 16px 20px !important;
    margin-bottom: 25px !important;
}

.cosy-leave-review-root .session-info-card .d-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
}

.cosy-leave-review-root .session-info-card .rounded-circle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    background: #a44390 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.cosy-leave-review-root .session-info-card h6 {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #1e293b !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
}

.cosy-leave-review-root .session-info-card small {
    color: #64748b !important;
    font-size: 0.85rem !important;
    display: block !important;
    margin: 0 !important;
}

/* Rating Buttons 1 to 9 (Top Row) */
.cosy-leave-review-root .rating-top-row {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.cosy-leave-review-root .rating-btn-small {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    height: 40px !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    background: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

/* Rating Button 10 (Bottom Row - Full Width Bar) */
.cosy-leave-review-root .rating-btn-large {
    width: 100% !important;
    height: 42px !important;
    padding: 0 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #334155 !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.cosy-leave-review-root .rating-score-btn:hover {
    border-color: #a44390 !important;
    color: #a44390 !important;
    background: #fdf5fc !important;
}

.cosy-leave-review-root .rating-score-btn.active,
.cosy-leave-review-root .rating-score-btn.btn-primary {
    background: #a44390 !important;
    border-color: #a44390 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.3) !important;
}

/* Leave Review Form Alert Box Styling (Red Error / Green Success) */
.cosy-leave-review-root .alert {
    padding: 12px 16px !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
}

.cosy-leave-review-root .alert-danger {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1.5px solid #fecaca !important;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.08) !important;
}

.cosy-leave-review-root .alert-success {
    background-color: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1.5px solid #bbf7d0 !important;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.08) !important;
}

.cosy-leave-review-root textarea.form-control {
    width: 100% !important;
    box-sizing: border-box !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    outline: none !important;
    min-height: 110px !important;
    resize: vertical !important;
    margin-top: 6px !important;
}

.cosy-leave-review-root textarea.form-control:focus {
    border-color: #a44390 !important;
    box-shadow: 0 0 0 3px rgba(164, 67, 144, 0.15) !important;
}

.cosy-leave-review-root #btnSubmitTokenReview {
    width: 100% !important;
    background: linear-gradient(135deg, #a44390 0%, #6d2e67 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 14px 25px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(164, 67, 144, 0.3) !important;
    transition: all 0.3s ease !important;
}

.cosy-leave-review-root #btnSubmitTokenReview:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(164, 67, 144, 0.4) !important;
}

/* Provider Reply Form Action Buttons (Green Submit / Red Cancel) */
.cosy-provider-reply-form button[type="submit"] {
    background: #22c55e !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.cosy-provider-reply-form button[type="submit"]:hover {
    background: #16a34a !important;
    color: #ffffff !important;
}

.btn-cancel-reply {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-cancel-reply:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* Public Provider Profile Review Thread Action Buttons */
.cosy-btn-reply-toggle,
.btn-toggle-cust-reply {
    background: #a44390 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.cosy-btn-reply-toggle:hover,
.btn-toggle-cust-reply:hover {
    background: #6d2e67 !important;
    color: #ffffff !important;
}

.btn-post-cust-reply,
.cosy-customer-reply-form button[type="submit"] {
    background: #22c55e !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.btn-post-cust-reply:hover,
.cosy-customer-reply-form button[type="submit"]:hover {
    background: #16a34a !important;
    color: #ffffff !important;
}

.btn-cancel-cust-reply {
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 6px 16px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.btn-cancel-cust-reply:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS & BREAKPOINT FIXES
   ========================================================================== */

/* Global container safeguard to prevent horizontal page sway */
html,
body {
    /* max-width: 100vw !important; */
    overflow-x: hidden !important;
}

/* 1. Universal Responsive Table Wrappers (Orders, Invoices, Services, Non-Working Days) */
.table-responsive,
.cosy-table-responsive,
.cosy-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    margin-bottom: 1.25rem !important;
    display: block !important;
    box-sizing: border-box !important;
    border-radius: 12px;
}

.table-responsive table,
.cosy-table-responsive table,
#providerOrdersTable,
#cosy-orders-table,
#daysTable,
#servicesTable,
#providerInvoicesTable {
    width: 100% !important;
    min-width: 640px !important;
    border-collapse: separate !important;
}

/* 2. Responsive Form Layouts & Inputs */
@media (max-width: 992px) {

    .cosy-customer-registration .wrapper,
    .cosy-login .wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
        margin: 50px 14px 50px !important;
        padding: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .cosy-customer-registration .wrapper .cosy-reg-message,
    .cosy-login .wrapper .cosy-reg-message {
        width: 100% !important;
        height: 240px !important;
        min-height: 240px !important;
        max-height: 260px !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .cosy-customer-registration .wrapper .cosy-reg-message img,
    .cosy-login .wrapper .cosy-reg-message img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
    }

    .cosy-customer-registration .cosy-reg-form,
    .cosy-login .cosy-reg-form {
        padding: 24px 20px 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .cosy-provider-registration .wrapper {
        margin: 24px 14px !important;
        padding: 30px 20px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {

    .cosy-provider-registration h2 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    .cosy-reg-form h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .cosy-reg-form .subtitle {
        font-size: 0.88rem;
        margin-bottom: 20px;
    }

    .cosy-form input[type="text"],
    .cosy-form input[type="email"],
    .cosy-form input[type="password"],
    .cosy-form select,
    .cosy-form textarea {
        font-size: 0.92rem !important;
        padding: 12px 14px !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .cosy-password-wrapper input {
        padding-right: 44px !important;
    }

    .cosy-toggle-password {
        right: 14px !important;
        font-size: 1.05rem !important;
    }

    /* Platform Declarations Mobile Optimization */
    .cosy-declarations-box {
        margin-bottom: 18px !important;
    }

    .cosy-declaration-item {
        font-size: 0.78rem !important;
        line-height: 1.4 !important;
        gap: 8px !important;
    }

    .cosy-declaration-item input[type="checkbox"] {
        width: 16px !important;
        height: 16px !important;
        min-width: 16px !important;
        min-height: 16px !important;
        margin-top: 2px !important;
    }

    /* Orders Management Filter Controls */
    .cosy-orders-card .card-body {
        padding: 18px 14px !important;
    }

    .cosy-orders-filter-input,
    .cosy-orders-filter-select,
    .cosy-orders-export-btn {
        width: 100% !important;
        margin-bottom: 8px !important;
        font-size: 0.88rem !important;
    }

    .cosy-orders-subtitle {
        margin-left: 0 !important;
        font-size: 0.85rem !important;
    }

    /* Modals & Details Popups */
    .order-details-modal,
    .popup-content {
        width: 94% !important;
        max-width: 100% !important;
        margin: 15px auto !important;
        padding: 20px 14px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        box-sizing: border-box !important;
    }

    .cosy-modal-content {
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        border: none !important;
    }

    /* Checkout Booking Summary Responsive Rules (<= 480px / 382px) */
    .cosy-checkout-header {
        margin-bottom: 14px !important;
    }

    .cosy-checkout-header #btnBackToSchedule {
        font-size: 0.84rem !important;
        padding: 0 !important;
    }

    .cosy-checkout-header .cosy-checkout-title {
        font-size: 1.05rem !important;
    }

    .cosy-bento-panel {
        border-radius: 14px !important;
        margin-bottom: 14px !important;
    }

    .cosy-checkout-table td {
        padding: 9px 6px !important;
        font-size: 0.84rem !important;
    }

    .cosy-checkout-table td.label-col {
        width: 32% !important;
        min-width: 75px !important;
        font-size: 0.82rem !important;
        padding-left: 10px !important;
        white-space: nowrap !important;
    }

    .cosy-checkout-table td.separator-col {
        width: 14px !important;
        font-size: 0.82rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }

    .cosy-checkout-table td.value-col {
        width: 62% !important;
        font-size: 0.85rem !important;
        padding-right: 10px !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    #cosyPayNowBtn {
        padding: 12px 14px !important;
        font-size: 0.98rem !important;
        border-radius: 12px !important;
    }

    /* Universal Dashboard Card Section Headings Mobile Fix */
    .card-body h3,
    .cosy-orders-card h3,
    .cosy-video-card h3,
    .cc__dashboard h3,
    .my-orders h3,
    .my-profile h3,
    .d-flex.align-items-center h3 {
        font-size: clamp(0.95rem, 4vw, 1.25rem) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .header-icon-badge {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .header-icon-badge i {
        font-size: 1rem !important;
    }

    /* Introduction Video Card Responsiveness */
    .cosy-video-card {
        padding: 20px 16px !important;
    }

    .cosy-video-card h3 {
        font-size: clamp(0.95rem, 4vw, 1.25rem) !important;
        letter-spacing: 0 !important;
        margin-bottom: 16px !important;
        gap: 8px !important;
        white-space: nowrap !important;
    }

    .cosy-video-card video {
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 16/9 !important;
        max-height: 340px !important;
    }

    /* Floating Admin Switcher Button */
    a[href*="switch_back_to_admin"],
    .switch-back-admin-btn {
        font-size: 0.78rem !important;
        padding: 8px 14px !important;
        max-width: calc(100% - 24px) !important;
        bottom: 12px !important;
        left: 12px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        z-index: 9999 !important;
    }
}

@media (max-width: 480px) {

    .card-body h3,
    .cosy-orders-card h3,
    .cosy-video-card h3,
    .cc__dashboard h3,
    .my-orders h3,
    .my-profile h3,
    .d-flex.align-items-center h3 {
        font-size: clamp(0.85rem, 4.2vw, 1.1rem) !important;
        letter-spacing: -0.3px !important;
    }

    .header-icon-badge {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    .header-icon-badge i {
        font-size: 0.9rem !important;
    }

    .cosy-video-card {
        padding: 16px 12px !important;
    }

    .cosy-video-card h3 {
        font-size: clamp(0.85rem, 4.2vw, 1.1rem) !important;
        gap: 6px !important;
    }

    .cosy-video-card .video-dropzone {
        min-height: 200px !important;
        padding: 30px 15px !important;
    }

    .cosy-video-card .video-dropzone i {
        font-size: 44px !important;
    }

    .cosy-video-card .video-dropzone span {
        font-size: 0.92rem !important;
    }

    .cosy-customer-registration .wrapper,
    .cosy-login .wrapper {
        margin: 50px 10px 50px !important;
        border-radius: 16px !important;
    }

    .cosy-customer-registration .wrapper .cosy-reg-message,
    .cosy-login .wrapper .cosy-reg-message {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 400px !important;
    }

    .cosy-customer-registration .cosy-reg-form,
    .cosy-login .cosy-reg-form {
        padding: 20px 16px 24px !important;
    }

    .cosy-provider-registration .wrapper {
        margin: 50px 10px 50px !important;
        padding: 35px !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    .cosy-provider-registration h2 {
        font-size: clamp(1.25rem, 5.5vw, 1.6rem) !important;
        margin-bottom: 20px !important;
        padding-bottom: 10px !important;
    }

    .cosy-reg-form h2 {
        font-size: 1.4rem !important;
    }

    .cosy-form .button-primary {
        padding: 12px 16px !important;
        font-size: 0.98rem !important;
        border-radius: 10px !important;
    }

    .time-grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .time-block {
        font-size: 0.8rem !important;
        padding: 8px 6px !important;
    }
}

/* Service Provider Filter Bar Responsiveness (Desktop untouched >992px) */
@media (max-width: 992px) {
    .cosy-providers-filter-bar {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    #cosyProvidersFilterForm {
        flex-wrap: wrap !important;
        gap: 10px !important;
        width: 100% !important;
    }

    #cosyProvidersFilterForm .cosy-filter-input,
    #cosyProvidersFilterForm .cosy-filter-select {
        flex: 1 1 calc(33.333% - 10px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    #cosyProvidersFilterForm {
        gap: 8px !important;
    }

    #cosyProvidersFilterForm #filter_search_name {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    #cosyProvidersFilterForm .cosy-filter-select {
        flex: 1 1 calc(50% - 8px) !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 13px !important;
        padding-left: 10px !important;
        padding-right: 28px !important;
    }
}

@media (max-width: 480px) {
    .cosy-providers-filter-bar {
        padding: 12px 8px !important;
    }

    #cosyProvidersFilterForm .cosy-filter-select {
        flex: 1 1 calc(50% - 6px) !important;
        font-size: 12px !important;
        height: 42px !important;
        padding-left: 8px !important;
        padding-right: 22px !important;
    }
}

/* Provider Single Profile Header Responsive Centering (<768px) */
@media (max-width: 768px) {
    .cosy-gradient-bg {
        padding: 24px 16px !important;
        text-align: center !important;
    }

    .cosy-gradient-bg>.d-flex {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .cosy-profile-img-wrap,
    .profile-avatar-wrapper-premium {
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }

    .profile-info-top {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .profile-info-top .d-flex {
        justify-content: center !important;
        text-align: center !important;
    }
}

/* --- LEAVE A REVIEW RATING SCORE BUTTONS --- */
.rating-top-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 6px;
}

.rating-score-btn {
    font-weight: 700;
    border: 1.5px solid #cbd5e1;
    color: #475569;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
}

.rating-btn-small {
    padding: 10px 0;
    border-radius: 10px;
    font-size: 0.95rem;
}

.rating-btn-large {
    width: 100%;
    padding: 12px 0;
    border-radius: 12px;
    font-size: 1.05rem;
    margin-top: 4px;
}

.rating-score-btn:hover {
    border-color: #a44390;
    color: #a44390;
    background-color: #fdf5fc;
}

.rating-score-btn.active {
    background: #a44390 !important;
    border-color: #a44390 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.25);
}

@media (max-width: 576px) {
    .rating-top-row {
        grid-template-columns: repeat(5, 1fr);
        gap: 6px;
    }
}