
/* Remove underline for all links in the website */
    a {
        text-decoration: none;
    }

    /* Ensuring the entire div is clickable */
    .sl-category-link {
        display: block;
        /* Make the entire area clickable */
        text-decoration: none;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    /* Image container styling */
    .sl-category-img-container {
        max-width: 100px;
        margin: 0 auto;
        transition: transform 0.3s ease;
        /* Smooth zoom-in effect */
    }

    /* Image styling */
    .sl-category-img {
        width: 100%;
        object-fit: cover;
        border-radius: 5px;
        padding: 20px;
    }

    /* Hover effect on the category container */
    .sl-category-hover-effect {
        background-color: #fff;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        border-radius: 5px;
        text-align: center;
    }

    /* Hover effect for the entire category (when hovering over the anchor tag) */
    .sl-category-link:hover .sl-category-hover-effect {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        /* Box shadow on hover */
        background-color: #800080;
        /* Change background color */
        color: #fff;
        /* Change text color */
    }

    /* Hover effect for the image inside the category */
    .sl-category-link:hover .sl-category-img-container {
        transform: scale(1.1);
        /* Zoom effect on hover */
    }

    /* Styling for the category name */
    .sl-category-name {
        font-weight: bold;
        margin-left: 5px;
        color: #333;
    }

    /* Styling for the search bar container */
    /* .input-group {
        background-color: #ffffff;
        border-radius: 8px;
    } */

    /* Styling for search input */
    /* .form-control {
        background-color: #cecece;
        font-style: italic;
        font-size: 15px;
    } */

    /* Styling for the search button */
    /* .btn {
                background-color: #800080;
                color: #fff;
                font-weight: bold;
                padding: 10px 20px;
                border-radius: 5px;
                transition: background-color 0.3s ease;
            } */

    /* Hover effect for the search button */
    /* .btn:hover {
                background-color: #6a006a;
            } */

    /* Optional: Additional card styling if needed */
    .img-width {
        width: 18px;
    }

    .card-height {
        min-height: 150px;
    }



    #alertContainer,
    #alertContainererror {
        display: none;
    }

    
    .resource-center-main {
        border-radius: 25px 25px 0 0 !important;
    }


/* comment code  */

.comment-box {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment-user {
    display: flex;
    align-items: center;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment-time {
    color: #777;
    font-size: 14px;
    margin-left: 10px;
}

.comment-body {
    font-size: 16px;
    color: #333;
}

.comment-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
}



/* Reply Box */
.reply-box {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}

.reply-input {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.send-btn {
    background-color: #6b46c1;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
}

.send-btn:hover {
    background-color: #553c9a;
}

/* Modal Styles */
#commentModal .modal-header {
    /* background-color: #6b46c1;
color: white; */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#commentModal .btn-close {
    color: white;
}

#commentModal .form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
}

#commentModal .btn-primary {
    /* background-color: #6b46c1; */
    /* border-color: #6b46c1; */
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
}

#commentModal .btn-primary:hover {
    background-color: #553c9a;
    border-color: #553c9a;
}





/* Ensure Swiper Wrapper and Slides Stretch */
.swiper-wrapper {
    display: flex;
    align-items: stretch;
}

/* Make all slides stretch */
.swiper-slide {
    display: flex;
    align-items: stretch;
    height: auto;
}

/* Make all cards equal height */
.resoucecentercard {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Stretch content inside the card */
.card-content {
    flex-grow: 1;
}

/* Ensure footer stays at the bottom */
.card-footer {
    margin-top: auto;
}

/* Swiper Pagination Styling */
/* .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
} */

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #800080;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Swiper Container */
.swiper {
    max-width: 100%;
    width: 1120px;
    /* padding: 40px 0; */
}

/* Responsive Styling */
@media (max-width: 768px) {
    .swiper {
        padding: 20px 0;
    }
}



.card-footer {
    border-radius: 0 0 25px 25px !important;

}

.card-content {
    padding: 5px 15px 0 15px;
    color: #212529;
    font-size: 17px;
}



/* button for profile skip  */

.addcolor {
    background: #93258f;
    border: 1px solid #93258f;
    color: #fff;
    transition: background 0.3s ease;
}

.addcolor:hover {
    background: #7c1e79;
    border-color: #7c1e79;
    color: #fff;
}

#delete-img-btn {
    transform: translate(50%, -50%);
    border-radius: 50%;
    font-size: 16px;
    padding: 4px 8px;
}

select.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25) !important;
}


/* Style for invalid Select2 */
.select2-container.is-invalid .select2-selection {
    border-color: #dc3545 !important;
}

/* Style for invalid feedback */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}



.terms-body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.terms-header {
    background-color: #f8f9fa;
    padding: 20px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 30px;
}

.terms-title {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.terms-update-date {
    color: #7f8c8d;
    font-size: 14px;
}

.terms-section-title {
    color: #2c3e50;
    font-size: 22px;
    margin-top: 30px;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 5px;
}

.terms-subsection-title {
    color: #2c3e50;
    font-size: 18px;
    margin-top: 25px;
}

.terms-text {
    margin-bottom: 15px;
}

.terms-list,
.terms-numbered-list {
    margin-bottom: 15px;
    padding-left: 20px;
}

.terms-list-item {
    margin-bottom: 8px;
}

.terms-section {
    margin-bottom: 30px;
}

.terms-highlight {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #2c3e50;
    margin: 20px 0;
}

.terms-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
    font-size: 14px;
    color: #7f8c8d;
}

.terms-toc {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.terms-toc-title {
    margin-top: 0;
    color: #2c3e50;
}

.terms-toc-list {
    list-style-type: none;
    padding-left: 0;
}

.terms-toc-item {
    margin-bottom: 5px;
}

.terms-toc-link {
    color: #3498db;
    text-decoration: none;
}

.terms-toc-link:hover {
    text-decoration: underline;
}

.terms-disclaimer {
    font-style: italic;
}

.terms-copyright {
    text-align: center;
}


/* skip btn 
 */

 #skip-btn {
    background-color: #93258f; /* Purple background */
    color: #fff;              /* White text color */
    border: 1px solid #93258f; /* Matching purple border */
    padding: 10px 20px;        /* Padding around the button */
    font-size: 16px;           /* Font size for the text */
    border-radius: 5px;        /* Rounded corners */
    display: inline-flex;      /* Align text and icon horizontally */
    align-items: center;       /* Center content vertically */
    cursor: pointer;          /* Pointer cursor on hover */
    transition: background-color 0.3s, border 0.3s; /* Smooth transition on hover */
}

#skip-btn img {
    margin-left: 10px; /* Space between the text and the icon */
    width: 20px;       /* Set image width */
}

#skip-btn:hover {
    background-color: #7a1b67; /* Darker purple on hover */
    border: 1px solid #7a1b67;  /* Darker purple border on hover */
}


.select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}




.like-comment-btn i {
    font-size: 1.2rem;
    vertical-align: middle;
}

.like-comment-btn .like-count {
    margin-left: 4px;
    font-weight: 500;
    vertical-align: middle;
}


 /* Custom styling for drag & drop */
            .drag-drop-area {
                background-color: #f8f9fa;
                cursor: pointer;
                transition: all 0.3s ease;
            }

            .drag-drop-area:hover {
                background-color: #e9ecef;
                border-color: #adb5bd !important;
            }

            .drag-drop-area.active {
                background-color: #e2f0ff;
                border-color: #0d6efd !important;
            }

            .file-preview-item {
                position: relative;
                width: 100px;
                margin: 5px;
            }

            .file-preview-item img {
                width: 100%;
                height: 100px;
                object-fit: cover;
                border-radius: 5px;
            }

            .remove-file {
                position: absolute;
                top: -10px;
                right: -10px;
                background: #dc3545;
                color: white;
                border-radius: 50%;
                width: 25px;
                height: 25px;
                display: flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
            }


            .no-data {
    font-size: 15px;
    color: #888;
}


   .cat-tags {
        color: #FFF;
        display: inline-block;
        margin: 5px 0px 0px 0px;
        transition: all 0.5s ease 0s;
        font-weight: 400;
        font-size: 11px;
        line-height: 15px;
        background: #d32f2f;
        text-transform: uppercase;
        -webkit-border-radius: 0px;
        -moz-border-radius: 0px;
        border-radius: 0px;
        text-decoration: none;
        color: #ffffff;
        left: 15px;
        position: absolute;
        z-index: 10;
        padding: 4px;
    }

    .slider-cat-tag {
        margin: 0px 0px 0px 0px;
        left: 10px;
    }




    /* // Add CSS for the selection states (add this to your stylesheet) */
/* // Add this CSS to your stylesheet */
.lawyer-option {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.lawyer-option:hover {
  background-color: #e8f5e9; /* Light green on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.lawyer-option.selected-lawyer {
  background-color: #ffebee; /* Light red when selected */
  border: 2px solid #f44336 !important;
}
.validation-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #f44336;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}



#addCourtBtn {
    border-radius: 50%;
    width: 48px;
    height: 48px!important;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Purple Skip button styling */
.btn-skip-purple {
    color: #812b80;
    border-color: #812b80;
    background-color: transparent;
}

.btn-skip-purple:hover {
    color: white;
    background-color: #812b80;
    border-color: #812b80;
}

/* If you want the button to be filled purple by default */
.btn-skip-purple.filled {
    color: white;
    background-color: #812b80;
    border-color: #812b80;
}

.btn-skip-purple.filled:hover {
    background-color: #6a2369;
    border-color: #6a2369;
}





/* hover btn reset / update password code  */

  #UpdatePasswordMember {
    color: #fff; /* Text color */
    background: #6a1b9a; /* Initial button background color (purple) */
    border: 2px solid #6a1b9a; /* Border color */
    border-radius: 8px; /* Rounded corners for the button */
    padding: 12px 24px; /* Add padding to make the button larger */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text for emphasis */
    cursor: pointer; /* Change the cursor to a pointer when hovered */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

#UpdatePasswordMember:hover {
    background: #f5ddff; /* Light purple background on hover */
    color: #6a1b9a; /* Change text color to purple */
    border-color: #f5ddff; /* Change border to match the hover background */
    transform: scale(1.1); /* Slightly enlarge the button */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Soft shadow around the button */
}

#UpdatePasswordMember:active {
    transform: scale(1); /* Reset the size when clicked */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); /* Smaller shadow when clicked */
}