/* Global Resets */
html, body {
    height: 100%;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
}


/* Input Styling */

.editable {
    cursor: pointer;
}

.pointerstyle {
    cursor: grabbing;
}


.makebold {
    font-weight: bold;
}

#printview-link {
    color: #29B968;
}
#delete-all-link {
    color: #dc3545;
}
#delete-all-link:hover {
    color: #c82333;
}

/* General Link Styles */
.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;
}


/* Time Text Styling */
.time-text {
    display: inline-block;
    position: relative;
}

.time-text span {
    display: block;
    transition: transform 0.5s ease-in-out;
}

/* Task Form */
#task-form {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid darkgray;

}

.task-table {
    margin-top: 30px;
}

/* Trash icon hover effect */
.trash-icon {
    transition: transform 0.2s ease-in-out;
}

.delete-btn:hover .trash-icon {
    transform: translateY(-5px); /* Moves the icon upwards on hover */
}

/* Optional: Add scale effect for a more noticeable animation */
.delete-btn:hover .trash-icon {
    transform: translateY(-5px) scale(1.2); /* Moves up and enlarges */
}

/* Autocomplete Suggestions Styling */
.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-icon {
    color: red;
    cursor: pointer;
}

.fa-xmark {
    margin-left: 15px;
    font-size: 14px;
}

.fa-xmark:hover {
   color: red;
}

.form-signin {
    max-width: 330px;
    padding: 1rem;
}


.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;
}

#start_time {
    width: 100px;
}







body {
           /*font-family: 'Roboto', sans-serif;*/
           background-color: #f5f5f5;
           color: #333;
       }



/* Task List Section */
      .task-list {
          list-style: none;
          padding: 0;
      }

      .task-list li {
          background: #ffffff;
          padding: 5px 10px;
          margin-bottom: 15px;
          border-radius: 10px;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
          display: flex;
          justify-content: space-between;
          align-items: center;
          transition: box-shadow 0.3s ease;
      }

      .task-list li:hover {
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      }


      .task-text {
          font-weight: 400;
          font-size: 1.1rem;
          color: #333;
      }


/* Header styling */
      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;
      }
      .header-content {
          /*max-width: 1400px;*/
          margin: 0 auto;
          /*background-color: yellow;*/

      }

      /* Footer styling */
      footer {
          margin-top: 50px;
          padding-bottom: 30px;
      }

      .footer-content {
          /*max-width: 1400px;*/
          margin: 0 auto;
          font-size: 0.9rem;
          color: #9f9f9f;
      }

      /* Content styling */
      .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%);

      }


.input-width-mobile {
    width: 90%;
  }


/* For mobile devices (below 576px) */
@media (max-width: 576px) {
  .input-width-mobile {
    width: 100%;
  }
}


.simple-login-mode-hide {
    display:none;
}
.simple-login-mode-transparent-bg {
    background: none;
    box-shadow:none;
}


.alert {
    text-align: center;
    padding:10px;
}



.text-muted {
    color: #aeb0b4 !important;
}
.text-muted {
    font-weight: 300;
}