body, h1,h2,h3,h4,h5,h6, button {font-family: "Montserrat", sans-serif}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to bottom right, #222,  #785610);
    background-attachment: fixed;
    color: white;
}

.w3-row-padding img {margin-bottom: 12px}
/* Set the width of the sidebar to 120px */
/* Add a left margin to the "page content" that matches the width of the sidebar (120px) */

#main {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the two halves */
    align-items: flex-start;
    padding: 10px;
    gap: 0; /* Remove gap between sides */
    flex-wrap: nowrap; /* Prevent wrapping */
    margin-top: -10px;
}

#left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Vertically center content */
    align-items: center;       /* Horizontally center content */
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
}

#right-side {
    /* height:1000px; */
    display: flex;
    flex-direction: column;
    justify-content: top;   /* Vertically center content */
    align-items: center;       /* Horizontally center content */
    width: 50%;
    box-sizing: border-box;
    animation: fadeSlideUp 0.3s ease-out forwards;
    /* padding: 20px; */
}



#right-side img {
    width: 100%;
    height: auto;
    /* border: 2px solid orange; */
    /* border-radius: 8px; */ 
}


  .date-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

button{
    background-color: orange;
    margin-top: 20px;
}

@media only screen and (max-width: 800px) {

    .title{
        font-size:22px;
    }

    .w3-topbar{
        margin-top:-30px;
        margin-bottom:-30px;
    }

    .selection_header{
        font-size:14px;
    }
    .box {
        width: 100px;
        margin: 10px 0;
        display: flex;
        align-items: center;
        user-select: none;
        }
    .box label {
        font-size:14px;
        position: absolute;
        padding-left: 20px;
        cursor: pointer;
    }
    .data_label{
        font-size:10px;
        color:orange;
    } 
    .data_input{
        font-size: 9px;
        width: 100px;
        height: 20px;
    }
}

.selection_header{
    font-size:24px;
}

.box {
  width: 120px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  user-select: none;
}
.box label {
  font-size:14px;
  color: orange;
  position: absolute;
  padding-left: 20px;
  cursor: pointer;
}
.box input {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.box input:checked ~ .check {
  border-color: orange;
  box-shadow: 0px 0px 0px 15px orange inset;
}
.box input:checked ~ .check::after {
  opacity: 1;
  transform: scale(1);
}
.box .check {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 2px;
  background-color: black;
  border: 2px solid orange;
  box-shadow: 0px 0px 0px 0px orange inset;
  transition: all 0.15s cubic-bezier(0, 1.05, 0.72, 1.07);
}

.box .radio {
    border-radius: 50px;
}
.box .check::after {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 4;
  position: absolute;
  transform: scale(0);
  background-size: 50%;
  background-image: url("http://s6.picofile.com/d/8392306668/c38c12a0-6db3-47d4-a80c-7dad8fab5186/checkmark.svg");
  background-repeat: no-repeat;
  background-position: center;
  transition-delay: 0.2s !important;
  transition: all 0.25s cubic-bezier(0, 1.05, 0.72, 1.07);
}

.selection_header{
    width:100%;
    text-align: left; 
    color: orange;
    font-size: 24px;
}

.selection_col{
    text-align:left;
}

.data_label{
    font-size:14px;
    color:orange;
} 
.data_input{
    font-size: 15px;
    width: 200px;
    height: 30px;
}
#requested_user{
    color:orange;
    font-size:20px;
}


.title {
    font-size: 60px;
    font-weight: bold;
    color: orange;
    text-align: center;
    text-shadow: 8px 8px 4px rgba(0,0,0,2);
    margin: 20px 0;
}

.subtitle {
    font-size: 25px;
    font-weight: bold;
    color: orange;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}


.title:hover {
    transform: scale(1.05);
}

.date-fetch-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.date-field {
    display: flex;
    flex-direction: column;
}

.data_label {
    font-size: 14px;
    color: orange;
    margin-bottom: 5px;
}

.data_input {
    font-size: 15px;
    width: 180px;
    height: 30px;
    padding: 4px;
    border: 1px solid orange;
    border-radius: 4px;
    background-color: #111;
    color: white;
}

.fetch-button {
    background-color: orange;
    color: black;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    height: 38px;
    width: fit-content;
    min-width: 180px;
    max-width: 180px;
    justify-content: center;
    margin-top: 20px;
}



.fetch-button:hover {
    background-color: darkorange;
    color: white;
}

@media only screen and (max-width: 600px) {
    .date-fetch-row {
        flex-direction: column;
        align-items: stretch;
    }

    .fetch-button {
        width: 100%;
        justify-content: center;
    }
}

/* Flatpickr Black-Orange Theme */
.flatpickr-calendar {
    background: linear-gradient(to left, #222, #785610);
    border: 1px solid orange;
    color :orange ;
    font-family: "Montserrat", sans-serif;
}

.flatpickr-months {
    background: orange;
    color: orange;
}
.flatpickr-years {
    background: orange;
    color: orange;
}

.numInputWrapper span:hover{
    background: orange;
}
.flatpickr-month {
    color: orange;
    background: orange;
}
.flatpickr-year {
    color: orange;
    background: orange;
}

.flatpickr-weekday {
    color: orange;
    font-weight: bold;
}

.flatpickr-day {
    background: #222;
    color: #fff;
    border-radius: 4px;
}

.flatpickr-day:hover {
    background: orange;
    color: #000;
}

.flatpickr-day.today {
    border: 1px solid orange;
    background: #333;
}

.flatpickr-day.selected {
    background: orange;
    color: #000;
}

.flatpickr-time {
    background: #222;
    border-top: 1px solid #ff6600;
}

.flatpickr-input[readonly] {
    background-color: #222;
    color: orange;
    border: 1px solid orange;
    padding: 6px;
    border-radius: 4px;
}
/* Month and Year Header */
/* Month and Year Header with Gradient */
.flatpickr-months .flatpickr-month {
    background:  #222;
    color: orange;
    border-bottom: 1px solid orange;
    font-weight: bold;
}

/* Month and Year Text */
.flatpickr-current-month {
    color: orange;
}

/* Dropdowns (if enabled) */
.flatpickr-monthDropdown-months,
.flatpickr-yearDropdown-years {
    background-color: #222;
    color: orange;
    border: 1px solid orange;
}


.form-group{
    color: orange;
    font-family: "Montserrat", sans-serif;
    padding: 3px;
}

.w3-padding-small {
    display: flex;
    justify-content: center;     /* Horizontally center */
    align-items: flex-start;     /* Align to top */
    text-align: center;
    min-height: 100vh;
    padding-top: 60px;           /* Add some top spacing */
    color: orange;
}

.w3-padding-large {
    display: flex;
    justify-content: center;     /* Horizontally center */
    align-items: flex-start;     /* Align to top */
    text-align: center;
    min-height: 100vh;
    padding-top: 60px;           /* Add some top spacing */
    color: orange;
    max-width: 1400px;   /* Increase width */
    margin: 0 auto;      /* Center the container */
}

.login-box {
    border: 2px solid orange;
    border-radius: 8px;
    padding: 30px;
    width: 300px;
    background-color: #222;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    animation: fadeSlideUp 1.5s ease-out forwards;
  }
  .register-box {
    border: 2px solid orange;
    border-radius: 8px;
    padding: 30px;
    width: 300px;
    background-color: #222;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
    animation: fadeSlideUp 1.5s ease-out forwards;
  }


@keyframes fadeSlideUp {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .help-block, .form-text {
    display: none;
}
  
#rotate-message {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 1.5em;
    text-align: center;
    padding-top: 40vh;
    z-index: 9999;
  }

  /* Show message only in portrait mode */
  @media screen and (orientation: portrait) {
    #rotate-message {
      display: block;
    }
  }