html, body {
    height: 100%;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 0.93rem;
    font-weight: 400;
    background-color: #f5f5f5;
    color: #333;
}




/*+++++++++++++++++/*/
/*LAYOUT + BASE*/
/*+++++++++++++++++/*/
header {
position: sticky;
top: 0;
width: 100%;
background-color: #f8f9fa;
z-index: 1020; /* Ensures the header stays above other elements */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

/*background-color: blue;*/
}

.container {
max-width: 1200px;
max-width: 1000px;
}

.header-content {
/*max-width: 1400px;*/
margin: 0 auto;
/*background-color: yellow;*/

}

footer {
margin-top: 50px;
padding-bottom: 30px;
}

.footer-content {
/*max-width: 1400px;*/
margin: 0 auto;
font-size: 0.9rem;
color: #9f9f9f;
}

.thecontent {
/*max-width: 1400px;*/
margin: 0 auto;
padding-top: 30px;
/*min-height: 80vh; !* Ensures the content area takes up at least most of the viewport *!*/
background-color: white;
/*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
box-shadow: 0 20px 27px 0 rgb(0 0 0 / 5%);
font-size: 1.03rem;
}

.simple-login-mode-hide {
    display:none;
}

.simple-login-mode-transparent-bg {
    background: none;
    box-shadow:none;
}

.text-muted {
    color: #aeb0b4 !important;
    color: #808080 !important;
    font-weight: 300;
}

.backgg {
    background: green !important;
}

.backgr {
    background: red !important;
}

.makebold {
    font-weight: bold;
}


/*+++++++++++++++++/*/
/*WORKOFF*/
/*+++++++++++++++++/*/
#workoff-container .task_start_time_row,
#workoff-container .task_task_name_row,
#workoff-container .task_duration_row,
#workoff-container .task_delete_task_row

{
    cursor: pointer;
}



/*+++++++++++++++++/*/
/*DAYPLANNER*/
/*+++++++++++++++++/*/
.editable,
input[type="checkbox"] {
    cursor: pointer;
}

.task_start_time_row:not(#workoff-container .task_start_time_row),
.task_task_name_row:not(#workoff-container .task_task_name_row),
.task_duration_row:not(#workoff-container .task_duration_row) {
    cursor: grabbing;
}

.time-text {
    display: inline-block;
    position: relative;
}

.time-text span {
    display: block;
    transition: transform 0.5s ease-in-out;
}

#task-form {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid darkgray;
}

.task-row-wrapper.highlight,
[data-wrapper=""].highlight,
[data-wrapper=""].highlight > td {
    background-color: #fff9a1; /* Softer yellow background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Light shadow effect */
}

/* Add a smooth transition to the task row */
.task-row-wrapper {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/*!* Center the div vertically in the viewport *!*/
.floating-div {
    background-color: #f8f9fa; /* Example background */
    padding: 10px; /* Example padding */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional shadow for style */
    overflow: auto;
    max-height: 500px;
    overflow-y: auto;
         overflow-x: hidden;
       /* Scrollbar styling for WebKit-based browsers (Chrome, Safari, Edge) */
       scrollbar-width: thin;           /* For Firefox, makes the scrollbar thin */
       scrollbar-color: #00bcd4 #f1f1f1; /* For Firefox, scrollbar color */
}

/* For WebKit browsers (Chrome, Safari) */
.floating-div::-webkit-scrollbar {
    width: 8px;                       /* Width of the scrollbar */
}

.floating-div::-webkit-scrollbar-thumb {
    background-color: #00bcd4;         /* Color of the scroll thumb */
    border-radius: 10px;               /* Rounded corners on the scroll thumb */
    border: 2px solid #f1f1f1;         /* Border around the scroll thumb */
}

.floating-div::-webkit-scrollbar-track {
    background-color: #f1f1f1;         /* Color of the scroll track */
}

/* On larger screens (≥ 992px), floating will be absolutely positioned */
@media (min-width: 992px) {
    .floating {
        position: absolute;
        left: 0;
        top: 10%; /* Adjust based on where you want it vertically */
        width: 240px; /* Full width on mobile */
    }
}

/* On mobile devices (< 992px), floating will behave normally */
@media (max-width: 991.98px) {
    .floating {
        position: static; /* Remove absolute positioning */
        width: 100%; /* Full width on mobile */
        background: transparent; /* Optional, remove background on mobile */
        margin-top: 20px; /* Optional, adjust spacing */
    }
}

.duration-btn {
    background: #9BD1B9;
    background: #42bfff;
    color: #FFFFFF;
}

.duration-btn:hover {
    background: #FFFFFF;
    border: 1px solid #9BD1B9;
    border: 1px solid #42bfff;
}


/*+++++++++++++++++/*/
/*LINKS + ICONS*/
/*+++++++++++++++++/*/
.action-icon {
    cursor: pointer;
    color: #333;
    opacity: 0.7;
    text-decoration: none;
    display: inline-block;
}

.action-icon:hover {
    color: #6b9bef;
    opacity: 1;
}

.red-on-hover:hover {
    color: #e12234;
}

.green-on-hover:hover {
    color: #66c896;
}

.icon-transform {
    opacity: 0.5;
    transition: transform 0.2s ease; /* Smooth transition effect */
}

.icon-transform:hover {
    opacity: 1;
    transform: rotate(90deg); /* Rotate 90 degrees on hover */
}

.black-color {
    color: #333333;
}

.blue-color {
    color: #3f5bde;
}

.swal-changelog-ul {
    list-style-type: disc;
}

.link-animated {
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease, transform 0.1s ease;
    /*display: flex;*/
}

.link-animated:hover {
    transform: scale(1.05);
}

.link-animated:active {
    transform: scale(0.95);
}

.link-text {
    margin-left: 0.5rem;
    position: relative;
}

.link-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-animated:hover .link-text::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/*+++++++++++++++++/*/
/*AUTOSUGGESTION*/
/*+++++++++++++++++/*/
.autocomplete-suggestions {
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    z-index: 1000;
}

.autocomplete-suggestions .suggestion {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-suggestions .suggestion:hover {
    background-color: #eee;
}

.autocomplete-suggestions .highlight {
    background-color: #ddd;
}

.delete-autocomplete-record-link {
    margin-left: 10px;
    display: flex; /* Ensures the icon itself is vertically centered */
    align-items: center;
}

.suggestion {
    display: flex;
    align-items: center; /* Aligns items (text + icon) vertically */
    justify-content: space-between; /* Optional: Adds space between text and icon */
    padding: 5px; /* Optional: Adjust padding for better spacing */
}


/*+++++++++++++++++/*/
/*SWEET ALERT*/
/*+++++++++++++++++/*/
.swal2-title {
    font-size: 1rem !important;
}

.swal2-html-container {
    font-size: 0.95rem !important;
}

.swal2-icon {
    font-size: 0.6rem;
}

.swal2-confirm,
.swal2-cancel
{
    font-weight: normal;
    font-size: 1rem;
    padding:10px;
    line-height: 0.8rem;
}


/*+++++++++++++++++/*/
/*ALERTS + TOAST*/
/*+++++++++++++++++/*/
.alert-success {
    background: #80ecae !important;
    background: #66c896 !important;
    color: white;
}

.alert-danger {
    color: white;
    background: #ec8080 !important;
}

.alert-info {
    color: white;
    background: #ec8080 !important;
}

.alert-warning {
    color: black;
    background: #fdb123 !important;
}

.alert {
    text-align: center;
    padding:10px;
}

.list-group-item label {
    cursor: pointer;
}

.no-pointer {
    cursor: none !important;
    cursor: default !important;
}


/*+++++++++++++++++/*/
/*FRONTEND LOGIN*/
/*+++++++++++++++++/*/
.account-block {
    padding: 0;
    background-image: url(https://bootdey.com/img/Content/bg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
}

.account-block .overlay {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.account-block .account-testimonial {
    text-align: center;
    color: #fff;
    position: absolute;
    margin: 0 auto;
    padding: 0 1.75rem;
    bottom: 3rem;
    left: 0;
    right: 0;
}

.text-theme {
    color: #5369f8 !important;
}

.btn-theme {
    background-color: #5369f8;
    border-color: #5369f8;
    color: #fff;
}

.form-signin {
    max-width: 330px;
    padding: 1rem;
}

.form-control,
input {
    box-shadow: none !important;
    outline: none !important;
    background-color: rgb(250, 251, 252);
    border-color: rgb(223, 225, 230);
    color: rgb(9, 30, 66);
    cursor: text;
    /*border-radius: 3px;*/
    border-width: 2px;
    /*border-style: solid;*/
    box-sizing: border-box;
    /*font-size: 14px;*/
    transition: background-color 0.2s ease-in-out 0s, border-color 0.2s ease-in-out 0s;
    /*line-height: 1.42857;*/
    padding: 8px 6px;
    height: 36px;
    :hover{
        background-color: rgb(235, 236, 240);
    }
    :focus{
        background-color: rgb(255, 255, 255);
        border-color: rgb(76, 154, 255);
    }
}


/*+++++++++++++++++/*/
/*REMINDER*/
/*+++++++++++++++++/*/
.checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* Adjust spacing between checkboxes */
  justify-content: center;
}

.checkbox-container label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14px; /* Adjust the font size if needed */
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  margin-bottom: 5px; /* Space between checkbox and text */
  transform: scale(1.2); /* Adjust size of checkbox */
    cursor: pointer;
}

@media (max-width: 768px) {
  .checkbox-container {
    gap: 5px;
  }
  .checkbox-container label {
    font-size: 12px;
  }
}

.showlabel {
    display: none;
}

.accordion-body {
    padding: 0;
    margin: 0;
}

.accordion-button:not(.collapsed) {
    background-color: transparent !important; /* Removes the blue background */
    color: inherit; /* Ensures the text color is not changed */
    box-shadow: none; /* Removes any box-shadow if present */
}

.accordion-button:focus {
    outline: none !important;
    box-shadow: none !important; /* Also removes the default box-shadow */
}




/*+++++++++++++++++/*/
/*COLLECTION*/
/*+++++++++++++++++/*/
.edit-input[data-type="collection_task_name"] {
    width: 70%;
}


/*+++++++++++++++++/*/
/*PRINTVIEW*/
/*+++++++++++++++++/*/
#printview-preview-container {
    border: 1px solid black;
    zoom: 80%;
    padding:30px;
}

.print-header {
    text-align: center;
    /*margin-top: 80px;*/
    margin-bottom: 20px;
}

.print-header h1 {
    font-size: 18px;
    margin: 0;
}

.print-header p {
    margin: 5px 0;
    font-size: 13px;
}

.print-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    /*font-size: 12px; !* Adjust font size for better fit *!*/
    font-size: 14px; /* Adjust font size for better fit */
}

.print-content table th,
.print-content table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
}

.print-content table th {
    background-color: #f2f2f2;
}



@media (max-width: 991.98px) {
    .nav-link {
        font-size:1.1rem;
    }
}



#password-strength {
    width: 100%;
    background: #ddd;
    height: 10px;
    /*margin-top: 10px;*/
    position: relative;
}

#requirements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
    gap: 5px; /* Space between items */
    padding: 0;
    width: 100%;
}

#requirements-list li {
    list-style: none;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    font-size: 0.8rem;
    box-sizing: border-box;
}

#requirements-list li.met {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    /*font-weight: bold;*/
}

.sortable-handle {
    cursor: grabbing;
}


/*.h3, h5 {*/
/*    font-weight: 300;*/
/*}*/

/*h5 {*/
/*    font-weight: 390;*/
/*    letter-spacing: 1.2px;*/
/*}*/

/*p {*/
/*    font-weight: 300;*/
/*}*/

/*.makebold {*/
/*    font-weight: 400;*/
/*}*/
