.dropdown-content-cal {
    display: none; /* Hide by default */
    position: absolute;
    left: 0; /* Align dropdown to the left */
   
    padding: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  background: white;
    z-index: 9999;;
   
    
  }


  #dropdown-content-cal {
    display: none; /* Hidden by default */
  }
  
  #dropdown-content-cal.show {
    display: block; /* Show when toggled */
  }

  /* Responsive row styling */
  .dropdown-row-cal {
    display: flex;
    flex-direction: column; /* Stack columns by default */
    gap: 20px; /* Spacing between columns */
  }

  .dropdown-column-cal {
    flex: 1; /* Take equal space in row */
    padding: 5px;
  }

  /* Arrange columns in a single row on large screens */
  @media (min-width: 768px) {
    .dropdown-row-cal {
      flex-direction: row; /* Arrange columns in a row */
    }
  }

  

  .input-text-cal {
    border-radius: 5px;
    padding: 5px;
    border: #cbcbcc solid 1px;
   
  }

   .calendar-cal {
    width: 300px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    /**opacity: 0.4; 
    pointer-events:none**/
  }

  .calendar-header-cal {
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    color: rgb(0, 0, 0);
    padding: 10px;
  }

  .calendar-header-cal h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 100;
  }

  /* Navigation button styling */
  .calendar-nav-cal {
    cursor: pointer;
    font-size: 18px;
    user-select: none;
  }

  /* Weekdays row styling */
  .calendar-weekdays-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
  
    padding: 10px 0;
  
  }

  .calendar-weekdays-cal div {
    text-align: center;
  }

  /* Days grid styling */
  .calendar-days-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
  }

  .calendar-day-cal {
    text-align: center;
    padding: 10px;
    cursor: pointer;
  }

  .calendar-day-cal:hover {
    background-color: #f0f0f0;
  }

  .selected-day-cal {
    background-color: #007bff;
    color: white;
    border-radius: 50%;
  }

  .highlighted-day-cal {
    background-color: rgba(0, 123, 255, 0.5);
    color: white;
  }


  .ul-cal li a {
        display: block;
        padding: 5px;
        color: rgb(0, 0, 0);
        text-decoration: none;
        background-color: transparent;
        transition: background-color 0.3s;
        border-radius: 5px;
        font-family: Arial, Helvetica, sans-serif;
        opacity: 0.7;
    }

    /* Hover effect */
    .ul-cal li a:hover {
        background-color: grey;
        color: #000;
    }

    /* Active effect */
    .ul-cal li a:active {
        background-color: black;
        color: #fff;
    }

    .submitcancel_links:hover{
        color: #007bff;
    }

    .submitcancel_links {
        font-size: 18px;
        padding: 7px; 
        color: #000;
        text-decoration: none;
    }

   

    .calendar-dropdown-links-cal{
      list-style: none;
      padding: 0;
      width: 125px
    }

    .calendar-dropdown-links-cal a {
      padding: 5px 0px;
    }

    .calendar-dropdown-links-cal .active{
        color: #fff; /* Or any style you want for the active link */
        font-weight: bold;
        background-color: rgb(0, 0, 255);
        padding-left: 10px;
    }

    /**.active {
        color: #fff; 
        font-weight: bold;
        background-color: rgb(0, 0, 255);
       
    }**/

    .dropdown-button-cal {
    background-color: transparent;
    color: rgb(0, 0, 0);
    font-size: 14px;
    border: #dad8d8 1px solid;
    padding: 10px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}





.calendar-icon-cal {
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-top: 2px solid #333;
    border-radius: 3px;
    display: flex;
    position: relative;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calendar-icon-cal::before,
.calendar-icon-cal::after {
    content: "";
    position: absolute;
    top: -4px; /* Adjusted for closer positioning above the border */
    width: 4px;
    height: 6px;
    background-color: #333;
}

/* Position the squares at the top-left and top-right corners */
.calendar-icon-cal::before {
    left: 2px;
}

.calendar-icon-cal::after {
    right: 2px;
}
