hr {
    background-color: black !important;
}

table.dataTable th {
    font-size: 0.8rem !important;
}

table.dataTable td {
    font-size: 0.8rem !important;
}

.btn, .form-control {
    border-radius: 0.5rem !important;
}

.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.col-2_5 {
    flex: 0 0 auto;
    width: 20%;
}

.modal-content {
    border-radius: 1rem !important;
}

@media (min-width: 992px) {
    .modal-x {
        max-width: 1200px;
    }
}


.swal2-styled.swal2-confirm {
    background-color: #1E398C !important;
}

.mini-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    word-break: break-word;         /* Break long strings */
    overflow-wrap: anywhere;        /* Fallback for better support */
}

.mini-text-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;     /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    word-break: break-word;         /* Break long strings */
    overflow-wrap: anywhere;        /* Fallback for better support */
}



.dropnav {
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.3s ease;
}

.dropnav.open{
    max-height: 100vh;
}

.main-container {
    border-radius: 2rem;
    background-color: white;
    overflow: hidden;
    box-shadow: 4px 3px 18px 0px rgba(0,0,0,0.1);
    -webkit-box-shadow: 4px 3px 18px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 4px 3px 18px 0px rgba(0,0,0,0.1);
}

.project-container {
    width: 100%;
    border-radius: 1rem;
    background-color: white;
    overflow: hidden;
    border: 1px solid #1E398C;
    cursor: pointer;
    color: black;
}

.project-container:hover {
    color: black;
}

.task-container {
    height: 150px;
    border-radius: 1.5rem;
    background-color: white;
    overflow: hidden;
    box-shadow: 3px 4px 14px -7px rgba(0,0,0,0.75);
    -webkit-box-shadow: 3px 4px 14px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 3px 4px 14px -7px rgba(0,0,0,0.75);
    cursor: pointer;
}

.profile-container {
    border-radius: 100%;
    background-color: #1E398C;
}

.mini-doc-container {
    border-radius: 5px;
    border: 1px solid #a09eb6;
    width: 45px;
    height: 50px;
}

.custom-nav {
    display: block;
    padding: 10px 30px;
    margin-bottom: 10px;
    background-color: white;
    transition: all ease-in-out 0.2s;
    color: black;
    font-size: 0.9rem;
}

.custom-nav:hover {
    background-color: #1E398C;
    color: white;
}

.custom-nav.selected {
    border-right: 5px solid #1E398C;
}

.category-badge {
    margin: 0 !important;
    padding: 2px 10px;
    border-radius: 5px;
    background-color: #f3eede;
    font-size: 0.7rem;
    font-weight: bold;
}

.deadline-badge {
    display: inline-block;
    margin-bottom: 0 !important;
    padding: 2px 10px;
    border-radius: 20px;
    background-color: #1E398C;
    color: white;
    font-size: 0.7rem;
}

.tab {
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0 !important;
    cursor: pointer;
}

.tab.selected {
    background-color: #254a6f;
    color: white;
}
.checkbox {
    border: 2px solid #b1d4f0;
    background-color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    color: black;
    padding: 2px 10px;
    cursor: pointer;
    width: 100px;
    text-align: center;
    margin-bottom: 0 !important;
}

.checkbox.selected {
    border: 2px solid #1E398C;
    background-color: #1E398C;
    color: white;
    font-weight: bold;
}

.progress-container {
    width: 70px; /* You can change this */
    height: 70px;
    position: relative;
    --dasharray: 251.2;
    --offset: 50.24;
}

svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* start arc from top */
}

circle {
    fill: none;
    stroke-width: 8;
}

.progress-bg {
    stroke: #f0eae4;
}

.progress-bar {
    stroke: #2f4fa3;
    stroke-linecap: round;
    stroke-dasharray: var(--dasharray);
    stroke-dashoffset: var(--offset);
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #2f4fa3;
    font-size: 0.8em;
}

.switch-tab {
    padding: 5px 15px;
    background-color: white;
    cursor: pointer;
    border-radius: 10px;
    transition: all ease-in-out 0.2s;
}

.switch-tab:hover {
    background-color: #f0eae4;
}

.add-attachment {
    display: block;
    padding: 10px 20px;
    border: 2px dashed #8F9CC6;
    border-radius: 0.5rem;
    color: #8F9CC6;
    font-weight: bold;
    background-color: #E9EBF4;
    text-align: center;
    cursor: pointer;
}

.attachment {
    display: block;
    border: 2px solid #8F9CC6;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 75px;
}

.attachment-icon {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    border: 1px solid black;
}

.chat-container {
    padding: 7px 15px;
    border-radius: 15px;
    background-color: #E9EBF4;
}

.chat-container.owned {
    background-color: #1E398C;
    color: white;
}


