/* Treatment Detail Section */
.treatment-detail-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Back Button */
.back-button-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}



.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
}

.btn-back:hover {
    background-color: #ef5491;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(239, 84, 145, 0.3);
}

/* Treatment Detail Image */
.treatment-detail-image {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.treatment-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 350px;
    max-height: 450px;
}

/* Treatment Detail Content */
.treatment-detail-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.treatment-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ef5491 0%, #d9437e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Treatment Description - Fixed spacing and font size */
.treatment-description {
    margin-bottom: 20px;
}

.treatment-description p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: justify;
}

.treatment-description ul,
.treatment-description ol {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 25px;
}

.treatment-description li {
    margin-bottom: 5px;
}

.treatment-description h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    margin-top: 15px;
}

.treatment-description h4,
.treatment-description h5,
.treatment-description h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    margin-top: 12px;
}

.treatment-meta-info {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.treatment-meta-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ef5491;
    margin-bottom: 0;
}

.treatment-additional-info {
    margin-bottom: 15px;
}

.treatment-additional-info p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.treatment-keywords {
    background-color: #fff3f8;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #666;
    font-size: 0.85rem;
}

.treatment-keywords strong {
    color: #ef5491;
}

/* Action Buttons */
.treatment-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-appointment,
.btn-contact {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.btn-appointment {
    background-color: #ef5491;
    color: white;
    border: 2px solid #ef5491;
}

.btn-appointment:hover {
    background-color: #d9437e;
    border-color: #d9437e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 84, 145, 0.4);
}

.btn-contact {
    background-color: transparent;
    color: #ef5491;
    border: 2px solid #ef5491;
}

.btn-contact:hover {
    background-color: #ef5491;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 84, 145, 0.4);
}

/* Sidebar Styles */
.treatment-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    position: sticky;
    top: 20px;
}



.sidebar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ef5491;
    background: linear-gradient(135deg, #ef5491 0%, #d9437e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background-color: #fff3f8;
    color: #ef5491;
    border-left-color: #ef5491;
    transform: translateX(5px);
}

.sidebar-item.active {
    background: linear-gradient(135deg, #ef5491 0%, #d9437e 100%);
    color: white;
    border-left-color: #d9437e;
    font-weight: 600;
}

.sidebar-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (max-width: 991px) {
    .treatment-sidebar {
        margin-top: 30px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .treatment-detail-content {
        padding: 20px;
    }

    .treatment-title {
        font-size: 1.75rem;
    }

    .treatment-detail-image img {
        min-height: 300px;
        max-height: 400px;
    }

    .treatment-actions {
        flex-direction: column;
    }

    .btn-appointment,
    .btn-contact {
        width: 100%;
        text-align: center;
    }

    .sidebar-title {
        font-size: 1.25rem;
    }

    .sidebar-item {
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .treatment-title {
        font-size: 1.5rem;
    }

    .treatment-detail-image img {
        min-height: 250px;
        max-height: 350px;
    }

    .treatment-description p {
        font-size: 0.85rem;
    }

    .treatment-additional-info p {
        font-size: 0.85rem;
    }
}