/* common styles */

.bg-primary, .btn-primary{
    background-color: #7c69ef  !important;
    border-color: #7c69ef  !important;
} 

.gap-1 {
    gap: 0.5rem;
}
.gap-2 {
    gap: 1rem;
}


#editImageModal .canvas-wrapper {
    background-color: #f0f0f0;
    overflow: auto;
    max-width: 100%;
    max-height: 90vh;
    width: 100%;
    height: 84vh;
    text-align: center;
    touch-action: none;           
    -ms-touch-action: none;
    -webkit-user-select: none;     
    -webkit-touch-callout: none;   
    user-select: none;
    transform-origin: center center;
    transition: transform 0.2s ease;
}
#editImageModal .canvas-holder {
    display: flex;
    justify-content: center;
    gap: 5px;
}
#editImageModal .button-holder {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 105px;
}
#editImageModal .button-holder #clearBtn{
    margin-bottom: 10px;
}

.pencil-color {
    justify-content: center;
}
.pencil-color div{
    border: 2px solid;
    padding: 10px;
    cursor: pointer;
    margin-right: 2px;
}
.pencil-color div.active{
    border-color: #000;
}

.pencil-color div.color-pink{
    background: pink ;
}
.pencil-color div.color-orange{
    background: orange ;
}
.pencil-color div.color-blue{
    background: blue ;
}
.pencil-color div.color-green{
    background: green ;
}
.pencil-color div.color-red{
    background: red ;
}

/* custom.css */


.flex {
    display: flex;
}
.w-50 {
    width: 50%;
}

.p-4 {
    padding: 1rem;
}

.border-r {
    border-right: 1px solid #e2e8f0; /* Light gray color */
}

.border-gray-200 {
    border-color: #e2e8f0;
}

.text-lg {
    font-size: 1.125rem;
}

.font-semibold {
    font-weight: 600;
}

.mb-4 {
    margin-bottom: 1rem;
}

.border {
    border: 1px solid #ccc; /* Light gray border */
}

.rounded {
    border-radius: 0.375rem;
}

.p-2 {
    padding: 0.5rem;
}

.treatment-photos img{
    width: 200px;
    height: 200px;
    object-fit: cover;

}

.image-container {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.hover-image {
    width: 100%;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    text-align: center;
    padding: 10px;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; 
}

.image-container:hover .overlay {
    opacity: 1; /* Show the overlay on hover */
}

.overlay-text {
    font-size: 16px;
}

@media (max-width: 768px) {
    #editImageModal .modal-title{
        font-size: 1rem;
    }
    .pencil-color {
        justify-content: start;
    }
}

@media (min-width: 576px) {
    #editImageModal .modal-dialog {
        margin: auto;
    }
}

@media (max-width: 1024px) {
    #editImageModal .modal-dialog {
        max-width: 100%;
    }
    #editImageModal .canvas-holder {
        flex-direction: column;
    }
    #editImageModal .button-holder {
        flex-direction: row;
        gap: 5px;
        width: auto;
    }
    .button-holder span {
        display: none;
    }
    #editImageModal .button-holder #clearBtn{
        margin-bottom: 0px;
    }
}