/* .btn-primary{background: var(--main-colour) ; border-color: var(--main-colour);}*/
/*.btn-primary:hover{background: var(--second-colour) ; border-color: var(--second-colour);}*/
.page-link:hover, .page-link:focus{color: var(--main-colour); box-shadow: none;}
.nav-link{color: var(--main-colour);}
div.dataTables_wrapper div.dataTables_filter input{color: var(--text-secondary-light) !important; height: 2.5rem; padding: 8px;
border: 1px solid var(--input-form-light) !important; border-radius: 10px !important; -webkit-border-radius: 10px !important;
-moz-border-radius: 10px !important; -ms-border-radius: 10px !important; -o-border-radius: 10px !important;}
div.dataTables_wrapper div.dataTables_info{display: inline-block;}
.dataTables_paginate{ float: right;}
.paginate_button{ box-sizing: border-box; display: inline-block; min-width: 1.5em; padding: .5em 1em; margin:0px 3px;
  text-align: center; text-decoration: none !important; cursor: pointer; color: inherit !important; border: 1px solid transparent; border-radius: 2px;
  background: transparent;}
.paginate_button:not(.first, .previous, .next, .last){ color: var(--text-secondary-light) !important; border-radius: 4px !important;
  -webkit-border-radius: 4px !important; -moz-border-radius: 4px !important; -ms-border-radius: 4px !important; -o-border-radius: 4px !important;
  background: var(--neutral-200) !important; font-weight: 500; border: none !important;}
.paginate_button.current{ background: var(--primary-600) !important; color: #fff !important;}
.dataTables_filter {
    display: inline-block;
    float: right;
}
.dataTables_length {
    display: inline-block;
}
div.dataTables_wrapper div.dataTables_length select {
    border: 1px solid var(--input-form-light);
    width: 40px !important;
}
/*
:root {
    --main-colour: #FFAEA5;
    --second-colour:#FE9286;
  } 

.selected {
    background-color: #51515269;
}*/

.selected {
    background-color: var(--primary-50) !important;
    color: var(--text-primary-light);
}


.upload-preview-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 10px, #f9f9f9 10px, #f9f9f9 20px);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

    .upload-preview-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.upload-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: white;
    border: 1px solid red;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-weight: bold;
    color: red;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 5;
}

.pdf-preview-icon {
    font-size: 48px;
    color: #6c757d;
}

.file-name {
    font-size: 14px;
    color: #444;
    margin-top: 8px;
    word-break: break-word;
}

.removebtnupload {
    font-size: 20px;
    background: transparent;
    border: none;
    position: absolute;
    top: -10px;
       right:  -20px;
}
.audioupload {
    max-width: 50%;
    min-width: 200px;
}
.audiofltr {
    filter: brightness(0.5);
}

.drag-handle {
    cursor: grab;
}

    .drag-handle:active {
        cursor: grabbing;
    }

.title-two-line {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3em; /* roughly 2 lines depending on font size */
    line-height: 1.5em; /* adjust based on your actual font size */
}

.note-editable {
    color: white !important;
}