/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 .css */

@font-face {
  font-family: 'Open Sans';
  font-style: extra-bold;
  font-weight: 800;
  src: url("/assets/OpenSans-ExtraBold-d3be0d37.ttf") format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 200;
  src: url("/assets/OpenSans-Light-6656612b.ttf") format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  font-style: bold;
  font-weight: 400;
  src: url("/assets/OpenSans-Bold-a2eddf07.ttf") format('truetype');
  font-display: swap;
}





body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 200;
  background-color: #f7fafc;
  margin-left: 105px;
  margin-right: 105px;

}



@media (max-width: 1000px) {
  body {

    margin-left: 5px;
    margin-right: 5px;

  }
}

h4 {
  margin-top: -5px;
  margin-bottom: 0px;
}
.master-logo {
  display: flex;
  align-items: center;
  margin-top: 5px;
  margin-right: 10px;
  width: 45px;
  height:45px;
}

.user-section {
  display: flex;
  align-items: right;
  gap: 0.5rem;
  margin-left: auto;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 0.5rem;

}

.navigation a {
  font-size: 1.2rem;
  font-weight: 600;
  margin-right: 1rem;
  color: #2d3748;
  text-decoration: none;
  position: relative;
}

.navigation a:hover {
  color: #1a202c;
}

.navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #2c709e;
  transition: width 0.3s ease;
}

.navigation a:hover::after {
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.button {
  display: inline-block;
  font-size: 1.5rem;
  padding: 10px 15px 10px 15px;
  width: 90%;
  max-width: 375px;
  margin-top: 10px;
  border-radius: 5px;
  background-color: #f7fafc;
  border: 1px solid #0e2e57;
  color: #2d3748;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

}

.button:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e0;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-form {
  font-weight: 200;
  font-size: 1.5rem;
  text-align: center;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
  width: 100%;
  max-width: 350px;
  padding: 10px;
  margin: 5px 0;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  font-size: 1.5rem;
}

.login-form input[type="label"] {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.task-form {
  font-weight: 200;
  font-size: 1.5rem;
  text-align: left;
  margin: 0px 5px 0px 5px;
  width: calc(100% - 30px);
}

.task-form input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    font-size: 1.5rem;
}

.task-form textarea {
  width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
    font-size: 1.5rem;
    height: 4em;

}

.task-form input[type="checkbox"] {
  transform: scale(2);
  margin-left: 10px;
  margin-right: 15px;
  padding: 15px;
}
.task-form input[type="date"] {
  transform: scale(1.5);
  margin-left: 30px;
  align-items: center;
  justify-content: center;

}

.task-form input[type="number"] {
  transform: scale(1.5);
  margin: 20px 0px 20px 62px;
  padding: 10px;
  font-size: 1.1rem;


}

.center-checkboxes {
  display: flex;

  gap: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}
@media (max-width: 1000px) {
  .center-checkboxes {
    align-items: center;
  justify-content: center;
  }

}

.task-form input[type="submit"] {
    width: 100%;
    max-width: 350px;
    font-size: 1.5rem;
    padding: 10px;
    margin: 5px 0;
    border-radius: 5px;
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #2d3748;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}


.search {
  display: inline;
  width: 750px !important;
  max-width: 100%;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
}
.admin_pane {
  float: right;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;

  border-radius: .5rem;
  border: 1px;

}

.scheduled_check {
  font-size: 1.25rem;
}

.scheduled_check progress {
  width: 75%;

}
@media (max-width: 1601px) {
  .scheduled_check progress {
    width: 100%;
    height: 15px;
    margin-top: 5px;
  }

}

.todo_item {
  padding-bottom: 10px;
  width: 100%;
  font-size: 1.25rem;


}

.urgent {
  background-color: #ff8000;
  font-weight: bold;
  margin-left: 5px;
  border-radius: 4px;
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.shopping {
  background-color: hsl(136, 75%, 37%);
  font-weight: bold;
  margin-left: 5px;
  border-radius: 4px;
  padding-left: 7px;
  padding-right: 7px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.info_pane {
  position: relative;
  margin: 1.5rem;
  padding: 1.5rem;
  border-radius: .5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(236 246 255 / var(--tw-bg-opacity, 1));

  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

}
.log-entry {
  position: relative;
  margin: 1.5rem;
  padding: 1.5rem;
  border-radius: .5rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));

  --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (max-width: 1000px) {
  .log-entry {
    position: relative;
    width: calc(100% - 40px);
    margin: 5px 5px 5px 0px;

    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));

  }
}

.log-meta-data {
  font-size: 1.25rem;
  margin-top: 0px;
  font-style: italic;
  font-color: #868e96;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px;
}
.half-half {

  vertical-align: top;
  font-size: 1.5rem;
  padding: 15px;
  margin: 5px;
  border: 1px;
  border-style: solid;
  border-radius: 0.5rem;
  border-color: #2c709e;
  box-sizing: border-box;
}

.full-wide {
  width: calc(100% - 30px);
  vertical-align: top;
  min-height: 85px;
  font-size: 1.25rem;
  padding: 15px;
  margin-left: 15px;
  margin-right: 15px;
  border: 1px;
  border-style: solid;
  border-radius: 0.5rem;
  border-color: #2c709e;
  box-sizing: border-box;
  display: block;
}

.mobile-only {
  display: none;
}



@media (max-width: 768px) {
  .hide-on-mobile {
    display: none;
  }

  .half-half {
    width: calc(100% - 40px);
    vertical-align: top;

    border: 1px;
    border-style: solid;
    border-radius: 0.5rem;
    border-color: #2c709e;
    box-sizing: border-box;
    display: block;
    font-size: 1.5rem;


  }
  .mobile-only {
    width: calc(100% - 40px);
    vertical-align: top;
    border: 1px;
    border-style: solid;
    border-radius: 0.5rem;
    border-color: #2c709e;
    box-sizing: border-box;
    display: block;
    font-size: 1.5rem;
    text-align: center;
  }

  .full-wide {
    width: calc(100% - 40px);
  }
  .grid-container {
    grid-template-columns: 1fr;  /* Change to single column */
    width: 100%;
  }
  .hamburger {
    display: block;
  }

  .nav-wrapper {
    display: none;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .nav-wrapper.active {
    display: block;
  }

  .navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .navigation a {
    width: 100%;
    margin: 0.5rem 0;
  }

  .user-section {
    margin: 1rem 0;
    justify-content: center;
  }

  .header-container {
    flex-wrap: wrap;
  }
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger-lines {
  width: 25px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.line {
  width: 100%;
  height: 3px;
  background-color: #2d3748;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-wrapper {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav-wrapper.active {
    display: block;
  }
}

// Flashes

.flash {
  // Does this do anything????
  margin: 50px;
}

.notice {
    color: #3a86b8;
    margin-left: 30px;

  }

.alert {
    color: #ff0000;
    margin-left: 30px;
  }


// Errors

section.errors {
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 0.3rem;
  background: $error-background-color;

  h2 {
    color: $error-color;
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
    margin-top: 0.51rem;
    font-weight: 600;
  }
}


// Splash screen
.splash {
  display: flex;
  width: 900px;
  max-width: 100%;
  justify-content: center;
  align-items: center;
}
 .splash h1 {
    font-family: 'Open Sans';
    font-weight: 800;
    font-size: 300%;
    text-align: center;
  }

  .splash h2 {
    font-family: 'Open Sans';
    font-weight: 400;
    font-size: 200%;
    text-align: center;
  }

  .splash p {
    font-family: 'Open Sans';
    font-weight: 200;
    font-size: 200%;
    text-align: center;
  }

  .highlight {
    font-family: 'Open Sans';
    padding: .25em;
      background: #FFC107;
      color: #000000;"
      content: "";
      position: relative;
      display: inline-block;
      left: 0;
      top: 0;
      transform: rotate(-2deg);
  }



.circle-sketch-highlight{
  position:relative;

}
.circle-sketch-highlight:before{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:-0.1em;
  border-width:2px;
  border-style:solid;
  border-color:#FFC107;
  position:absolute;
  border-right-color:transparent;
  width:100%;
  height:1em;
  transform:rotate(2deg);
  opacity:0.7;
  border-radius:50%;
  padding:0.1em 0.25em;
}
.circle-sketch-highlight:after{
  content:"";
  z-index:-1;
  left:-0.5em;
  top:0.1em;
  padding:0.1em 0.25em;
  border-width:2px;
  border-style:solid;
  border-color:#FFC107;
  border-left-color:transparent;
  border-top-color:transparent;
  position:absolute;
  width:100%;
  height:1em;
  transform:rotate(-1deg);
  opacity:0.7;
  border-radius:50%;
}

:root {
  --font: #414141;
  --underline: #FFC107;
  --color: #000000;
}

.splash-cta {
  font-size: 2.2rem;
  width: 340px;
  max-width: 100%;
  margin: 10px auto;
  display: flex;
  flex-direction: column;

}
.splash a {
  text-decoration: none;
  color: var(--color);
  transition: all 200ms ease-out;
}

.splash a:hover {
  font-size: 2.2rem;
  color: var(--font);
}

.splash a:hover ~ hr {
  width: 100%;
}

.splash hr {
  width: 0px;
  height: 3px;
  background: var(--underline);
  border: var(--underline);
  margin: 0px;
  transition: width 450ms ease-out;


}

.blacksq {
  color: #000000;

}

.reddf {
  color: #5e0000;
}






