.template .qr-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.template .qr-section.show {
    display: block;
    max-height: 300px;
}

.template .share-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.template .share-icons-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.template .share-icons-wrapper::-webkit-scrollbar {
    height: 5px;
}

.template .share-icons-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

.template .share-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 80px;
    margin: 5px;
    flex: 0 0 auto;
}

.template .share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.template .share-icon:hover {
    transform: scale(1.1);
}

.template .platform-name {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
}

.template .text-message {
    background: #34c759;
}

.template .email {
    background: #007bff;
}

.template .whatsapp {
    background: #25D366;
}

.template .whatsapp-business {
    background: #075e54;
}

.template .telegram {
    background: #0088cc;
}

.template .facebook {
    background: #1877F2;
}

.template .messenger {
    background: #006AFF;
}

.template .cursor-pointer {
    cursor: pointer;
}

.template .three-dots {
    background: #6c757d;
}

.template .container-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    width: 350px;
    margin: 20px auto;
}

.template .dropdown-toggle {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 1px solid #ced4da;
}

.template .hidden-section {
    display: none;
}

.template .time-option {
    text-align: center;
    background: #fff;
    border: 1px solid #f2f1f1;
}

.template .calendar-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 320px;
    margin: auto;
}

.template .datepicker {
    width: 100%;
}

.template .datepicker table {
    width: 100%;
    text-align: center;
    border-collapse: separate;
}

.template .datepicker th {
    font-weight: 600;
    color: #555;
}

.template .datepicker td {
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.template .datepicker td.today {
    background: #e0e7ff !important;
    color: #1d4ed8;
    font-weight: bold;
}

.template .datepicker td.active {
    font-weight: bold;
}

.template .datepicker td.disabled {
    color: #ccc !important;
    cursor: not-allowed;
}

.template .appointment-body {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.template .appointment-body h6 {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.template .appointment-body button {
    font-size: 14px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .template .appointment-body button {
        font-size: 12px;
        overflow: hidden;
    }
}

@media (max-width: 400px) {
    .template .appointment-body button {
        font-size: 10px;
        overflow: hidden;
    }
}

.template .datepicker td.active {
    background-color: #13243d !important;
    background-image: none !important;
    color: #fff;
}

.template .time-option.active {
    background-color: #13243d !important;
    color: #fff;
}

.template .loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.template .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.template .switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

.template .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.template .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.template .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.template input:checked+.slider {
    background-color: #2196F3;
}

.template input:checked+.red-slider {
    background-color: #ff4d4d;
}

.template input:checked+.slider:before {
    transform: translateX(14px);
}

.template .text-center img {
    display: block;
    margin: 0 auto 5px;
}

.template .text-center p {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
}

.template .meeting-option {
    width: 90px;
}

.template .checkout-container {
    padding: 20px;
}

.template h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.template .selected-service {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 10px 0;
}

.template .appointment-info {
    text-align: left;
    margin: 15px 0;
}

.template .platform-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.template .platform-container img {
    width: 89px;
    height: 100px;
}

.template .checkout-summary {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.template .payment-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.template .payment-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.template .payment-btn:hover {
    background: #f1f1f1;
}

.template .checkout-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.template .btn-pay {
    background-color: #FF5F5F;
    color: white;
    border-radius: 15px;
    cursor: pointer;
}

.template .datepicker-inline {
    width: 100% !important;
}

.template .connect-form {
    display: none;
    position: relative;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}
.template .connect-form label {
   color: #333;
}

.template .connect-form.open {
    display: block;
    animation: slideDown 0.4s ease-in-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.template .close-btn {
    background: none;
    position: absolute;
    right: 15px;
    top: 15px;
    padding: 0 5px;
    color: #888;
    font-size: 18px;
    font-weight: 100;
    border-radius: 50%;
    border: 1px solid #888;
    cursor: pointer;
    width: 30px;
    height: 30px;
}

.template .close-btn:hover {
    color: #000;
}

.template .connect-form {
    margin-top: 20px;
}

.template5 .connect-form {
    margin-top: 50px;
}
.template6 .connect-form {
    margin-top: 50px;
}

.template7 .connect-form {
    margin-top: 50px;
}
.template .connect-body {
    margin-top: 25px;
}

.template .connect-body h4 {
    font-weight: 100;
}

.template .connect-form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.template .connect-form .connect-save-btn {
    padding: 10px 20px;
    background: #ff6250;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 10px;
}

.template .connect-form .connect-save-btn:hover {
    background: #e05748;
}

.template .social_text {
    font-size: 12px;
    color: #13243d;
    font-weight: 100;
}

.template .ellipsis {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.template .feed-content iframe {
    width: 100% !important;
}

.template .feed-content iframe {
    width: 100% !important;
    max-width: 700px !important;
}

.template .content-blur {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

/* Instagram Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px 0;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.slider-item {
    flex: 0 0 auto;
    width: 100%; /* Full width for fullscreen display */
    margin-right: 0; /* Remove margin for fullscreen */
}

.slider-item:last-child {
    margin-right: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.slider-btn:disabled {
    background: rgba(0, 0, 0, 0.3);
    cursor: not-allowed;
}

/* Hide inactive feed content */
.feed-container .feed-content {
    display: none;
}

.feed-container .feed-content.active {
    display: block;
}

.inquiry-form input {
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-item {
        width: 100%; /* Keep full width on mobile */
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slider-item {
        width: 100%; /* Keep full width on mobile */
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
}
/* Instagram Empty States CSS */
.empty-state {
    padding: 2rem 1rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

.empty-icon {
    margin-bottom: 1rem;
}

.empty-icon i {
    font-size: 48px;
    color: #dee2e6;
    opacity: 0.7;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-message {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Dark theme support for empty states */
@media (prefers-color-scheme: dark) {
    .empty-state {
        background: #343a40;
    }
    
    .empty-title {
        color: #e9ecef;
    }
    
    .empty-message {
        color: #adb5bd;
    }
    
    .empty-icon i {
        color: #6c757d;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .empty-state {
        padding: 1.5rem 1rem;
    }
    
    .empty-icon i {
        font-size: 40px;
    }
    
    .empty-title {
        font-size: 1.1rem;
    }
    
    .empty-message {
        font-size: 0.85rem;
    }
}