@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --cosy-primary: #9b4593;
    --cosy-secondary: #833573;
    --cosy-accent: #f1c40f;
    --cosy-text: #1e293b;
    --cosy-subtext: #64748b;
    --cosy-bg: #f8fafc;
    --cosy-white: #ffffff;
    --cosy-gradient: linear-gradient(135deg, #9b4593 0%, #7a3673 100%);
}

.cosy-premium-grid-container {
    font-family: 'Outfit', 'Poppins', sans-serif !important;
    max-width: 1250px;
    margin: 60px auto;
    padding: 0 20px;
}

.cosy-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.cosy-card-v2 {
    background: var(--cosy-white);
    border-radius: 35px;
    border: 1px solid rgba(155, 69, 147, 0.12);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.cosy-card-v2:hover {
    box-shadow: 0 20px 50px rgba(155, 69, 147, 0.1);
    border-color: rgba(155, 69, 147, 0.3);
}

.card-top-header {
    background: var(--cosy-gradient);
    padding: 30px 20px;
    position: relative;
}

.header-inner-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-details-top {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-info-top,
.profile-info-top h2,
.profile-info-top span,
.profile-info-top i {
    color: #ffffff !important;
}

.provider-name {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.verified-tick {
    color: #38bdf8;
    font-size: 1rem;
}

.rating-box-premium {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-flex {
    display: flex;
    gap: 2px;
}

.stars-flex i {
    color: #ffc107;
    font-size: 0.75rem;
}

.rating-val {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
}

.card-main-content {
    padding: 30px 25px;
    text-align: center;
    flex-grow: 1;
}

.description-text {
    color: var(--cosy-subtext);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.pricing-premium {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.pricing-premium .currency {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cosy-text);
}

.pricing-premium .amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--cosy-text);
}

.pricing-premium .per {
    font-size: 0.9rem;
    color: var(--cosy-subtext);
}

.card-action-footer {
    padding: 0 20px 30px;
    display: flex;
    gap: 10px;
}

.btn-premium {
    flex: 1 1 0% !important;
    /* Forces equal width in flex container */
    width: 0;
    /* Ensures flex-basis takes precedence */
    height: 50px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    /* Prevents text wrapping */
}

.btn-intro-v2 {
    background: #ffffff;
    color: var(--cosy-primary) !important;
    border: 1.5px solid var(--cosy-primary) !important;
    outline: none !important;
}

.btn-intro-v2:hover {
    background: var(--cosy-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(155, 69, 147, 0.2);
    transform: translateY(-3px);
}

.btn-profile-v2 {
    background: #ffffff !important;
    color: var(--cosy-primary) !important;
    border: 1.5px solid var(--cosy-primary) !important;
    outline: none !important;
}

.btn-profile-v2:hover {
    background: var(--cosy-secondary) !important;
    background-image: none !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(131, 53, 115, 0.4);
    transform: translateY(-3px);
}

@media (max-width: 1200px) {
    .cosy-premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cosy-premium-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal Styling */
.cosy-video-modal-wrapper, #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: cover !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;
}

/* Service Provider Profile Layout Custom Premium Styles */
.cosy-card-rounded {
    border-radius: 24px !important;
    overflow: hidden !important;
}

.cosy-gradient-bg {
    background: linear-gradient(135deg, #a44390 0%, #6d2e67 100%) !important;
    color: white !important;
}

.cosy-profile-img-wrap {
    position: relative !important;
    width: 150px !important;
    height: 150px !important;
    flex-shrink: 0 !important;
}

.cosy-profile-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 32px !important;
    border: 4px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.15) !important;
}

.cosy-bg-fafbfc {
    background: #fafbfc !important;
}

.cosy-price-min {
    color: #a44390 !important;
    letter-spacing: -0.5px !important;
}

.cosy-price-label {
    font-size: 0.6rem !important;
    letter-spacing: 0.8px !important;
}

.cosy-section-title {
    letter-spacing: -0.5px !important;
}

.cosy-rating-star {
    font-size: 1rem !important;
}

.cosy-age-group {
    color: #a44390 !important;
    letter-spacing: -0.5px !important;
}

.cosy-about-desc {
    font-size: 1.05rem !important;
    color: #475569 !important;
}

.cosy-border-f1f5f9 {
    border-color: #f1f5f9 !important;
}

.cosy-icon-box {
    width: 40px !important;
    height: 40px !important;
    background: #fdf2fb !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cosy-icon-color {
    color: #a44390 !important;
}

.cosy-service-row {
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.cosy-service-row:hover {
    background: #fdf2fb !important;
    border-color: #a44390 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(164, 67, 144, 0.08) !important;
}

.cosy-service-row.selected {
    background: #fdf2fb !important;
    border: 1.5px solid #a44390 !important;
    box-shadow: 0 4px 12px rgba(164, 67, 144, 0.08) !important;
}

.cosy-service-check-box {
    width: 40px !important;
    height: 40px !important;
    background: #fff !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

.cosy-service-check-icon {
    color: #cbd5e1 !important;
    transition: color 0.3s !important;
}

.cosy-service-row.selected .cosy-service-check-icon {
    color: #a44390 !important;
}

.cosy-service-title {
    color: #1e293b !important;
}

.cosy-service-price-box {
    background: #a44390 !important;
    color: #fff !important;
    padding: 8px 15px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.cosy-btn-add-review {
    background-color: #a44390 !important;
    border-radius: 10px !important;
}

.cosy-btn-add-review:focus,
.cosy-btn-add-review:active,
.cosy-btn-add-review:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.cosy-review-form-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.cosy-rating-star-btn {
    color: #cbd5e1;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.cosy-review-textarea {
    border-radius: 14px !important;
    padding: 15px !important;
    font-size: 0.95rem !important;
    resize: none !important;
}

.cosy-btn-primary {
    background: linear-gradient(135deg, #a44390, #6d2e67) !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s !important;
}

.cosy-review-avatar {
    width: 45px !important;
    height: 45px !important;
    background: #fdf2fb !important;
    color: #a44390 !important;
}

.cosy-review-text {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

.cosy-cal-nav-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #a44390 !important;
    font-size: 0.7rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

.cosy-cal-month-title {
    color: #1e293b !important;
    font-size: 0.95rem !important;
}

.cosy-cal-day-header {
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    padding: 6px 0 !important;
}

.cosy-legend-dot {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.cosy-legend-selected {
    background: #a44390 !important;
}

.cosy-legend-available {
    background: #e9d5e9 !important;
}

.cosy-legend-unavailable {
    background: #e2e8f0 !important;
}

.cosy-checkbox {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    accent-color: #a44390 !important;
}

.cosy-booking-for-another {
    font-size: 0.75rem !important;
}

.cosy-date-display-box {
    background: #fdf2fb !important;
    border: 1px solid #f9e6f5 !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
}

.cosy-date-text {
    color: #a44390 !important;
}

.cosy-slot-row-bg {
    border-color: #f1f5f9 !important;
    transition: all 0.2s !important;
}

.cosy-slot-day-text {
    color: #1e293b !important;
    font-size: 0.9rem !important;
}

.cosy-slot-duration-text {
    font-size: 0.75rem !important;
}

.cosy-btn-select-time {
    background: #a44390 !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 0.7rem !important;
    color: #ffffff !important;
}

.cosy-duration-label {
    letter-spacing: 0.8px !important;
    font-size: 0.7rem !important;
}

.cosy-duration-select {
    border-radius: 12px !important;
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    appearance: none !important;
    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%22%20fill%3D%22none%22%20stroke%3D%22%23a44390%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.2em !important;
}

.cosy-total-amount-box {
    background: #fdf2fb !important;
    border: 1px dashed #a44390 !important;
}

.cosy-total-label {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.cosy-total-price {
    color: #a44390 !important;
}

.cosy-btn-book-now {
    background: #a44390 !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    transition: all 0.2s !important;
}

.cosy-login-alert {
    border-radius: 12px !important;
    font-size: 0.8rem !important;
    background: #fffbeb !important;
    border: 1px solid #fef3c7 !important;
    color: #d97706 !important;
}

.cosy-secure-payment-text {
    font-size: 0.7rem !important;
}

.cosy-video-modal-ratio {
    border-radius: 15px !important;
    overflow: hidden !important;
}

.cosy-modal-icon-box {
    width: 40px !important;
    height: 40px !important;
    background: #fdf2fb !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a44390 !important;
}

.cosy-modal-legend-dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 3px !important;
}

.cosy-modal-legend-dot-available {
    background: #fff !important;
    border: 1.5px solid #edf2f7 !important;
}

.cosy-modal-legend-dot-selected {
    background: #a44390 !important;
}

.cosy-modal-legend-dot-booked {
    background: #e2e8f0 !important;
}

.cosy-modal-time-grid {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
}

.cosy-modal-total-duration-label {
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
}

.cosy-modal-total-duration-val {
    color: #a44390 !important;
    font-size: 1.1rem !important;
}

.cosy-modal-confirm-btn {
    background: #a44390 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    border: none !important;
    min-width: 140px !important;
}

.cosy-login-alert-icon {
    font-size: 0.9rem !important;
}