/* Color Hex Codes: #2C3E50 // #98c1d9 // #e0fbfc // #ee6c4d //#293241 */
/* Body styles */

/* 
CSS HEX
--yinmn-blue: #464d77ff;
--teal: #36827fff;
--naples-yellow: #f9db6dff;
--snow: #f4ededff;
--battleship-gray: #777666ff;
*/

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #F5F5F5;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25em;

}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Nav Bar Style */
.navbar {
  background-color: #2C3E50;
  height: 4em;
}

.custom-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar-nav {
  margin-left: auto;
  /* Right-align the navbar links */
}

.navbar-nav .nav-item {
  margin-right: 15px;
  /* Add some spacing between the links */
}

.navbar-collapse {
  background-color: #2C3E50;
}

/* Style the hamburger icon */
.navbar-toggler {
  border: none;
  outline: none;
}

/* Hover effect for navbar links */
.navbar-nav li a:hover {
  color: #333;
  /* Color on hover */
}

.container-fluid {
  margin: 0 auto;
  flex: 1;
  padding-top: 4em;
}

.content-wrapper {
  margin: 0 auto;
  max-width: 40em;
  padding: 1em 0;
}

/* Main content styles */
.card {
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.card-header {
  background-color: #3498DB;
  color: #FFF;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  padding: 15px;
}

.card-body {
  padding: 30px;
}

/* Pagination styles */
.pagination {
  margin-top: 30px;
}

.page-links {
  display: inline-block;
  font-size: 16px;
}

.page-links a {
  color: #2C3E50;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 5px;
  text-decoration: none;
}

.page-links a:hover {
  background-color: #EDEDED;
}

.page-links .page-current {
  font-weight: bold;
}

.user-title {
  font-weight: bold;
  color: #0080ff;
  font-size: 0.75em;
}

/* Animation */
.loading-spinner {
  border: 8px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  animation: spin 1s ease-in-out infinite;
  margin: 30px auto
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#messages {
  font-weight: bold;
}

/* Overlay Div*/
.spinner-container {
  position: relative;
  min-height: 300px;
  height: 100%;
  width: 100%;
}

.box2 {
  position: absolute;
  top: 0;
  left: 0;
  height: 300px;
  width: 300px;
}


/* Style the form element */
form {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

label {
  font-weight: bold;
  font-size: 1.25em;
}

/* Style the form input elements */
form input[type="text"],
form input[type="email"],
form input[type="number"],
form select,
form textarea {
  width: 100%;
  padding: 3px 7px;
  margin: 8px 0;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
}

/* Style the form submit button */
form input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Change the style of the form submit button on hover */
form input[type="submit"]:hover {
  background-color: #45a049;
}

/* Style the form error messages */
form .errorlist {
  list-style: none;
  text-align: center;
  padding: 0;
}

form .errorlist li {
  background-color: #ffe3e3;
  border: 1px solid #ff0000;
  color: #8b0000;
  font-weight: bold;
  padding: 5px 0 5px 0;
  border-radius: 5px;
}

/* Style the form success message */
form .success-message {
  color: green;
  font-weight: bold;
  margin: 20px 0;
}

/* Style for Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
}

th {
  background-color: #2C3E50;
  color: #fff;
  font-weight: bold;
  text-align: left;
  padding: 12px;
}

td {
  border: 1px solid #ddd;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #ddd;
}

caption {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

/* New Research Button */
.new-research-packet {
  background-color: #4CAF50;
  /* Green */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  float: right;
  margin-bottom: 1em;
}

.new-research-packet:hover {
  background-color: #3e8e41;
}

/*custom paganation updates*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination li {
  list-style: none;
  margin: 0 5px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 6px 12px;
  color: #fff;
  background-color: #2C3E50;
  border: 1px solid #2C3E50;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination span:hover {
  background-color: #56779b;
  cursor: pointer;
  border: none;
}

.pagination .active a,
.pagination .active span {
  background-color: #56779b;
  cursor: default;
  border: none;
}

/* Message Tab */
.messages {
  font-size: 1.2rem;
  list-style: none;
  padding-left: 0;
}

.messages li {
  margin: 0.5rem 0;
  padding: 0.5rem;
  border-radius: 0.3rem;
  color: #fff;
}

.messages li.error {
  background-color: #f44336;
}

.messages li.success {
  background-color: #4caf50;
}

.messages li.warning {
  background-color: #ff9800;
}

.messages li.info {
  background-color: #2196f3;
}

.hidden {
  display: none;
}

/*Packet View Stuff */
.streetViewImage {
  max-width: 400px;
}

/* Footer Style */
footer {
  background-color: #2C3E50;
  padding: 20px 0;
}

footer a {
  margin-right: 10px;
  text-decoration: none;
}

footer hr {
  background-color: #ee6c4d;
}

.custom-fade {
  color: rgba(255, 255, 255, 0.55);
}

.custom-fade:hover {
  color: rgba(255, 255, 255, .75);
}

/* Landing image */
.landing-image {
  background-image: url("/static/img/scott-blake-x-ghf9LjrVg-unsplash.jpg");
  /* Replace "your_image.jpg" with the actual image path */
  background-size: cover;
  background-position: center;
  height: 400px;
  /* Adjust the height as needed */
  position: relative;
  color: whitesmoke;
  padding-top: 4em;


  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Adjust the opacity as needed */
  }
}

/* Style for the text overlay */
.landing-text {
  position: absolute;
  top: 20%;
  right: 30px;
  transform: translateY(-50%);
}

.landing-text h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.landing-text h2 {
  font-size: 24px;
  font-weight: bold;
}

/* Style for the mission statement section */
.mission-statement {
  padding: 40px;
  text-align: center;
}

.mission-statement h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.mission-statement p {
  font-size: 18px;
}

/* Style for the pricing div */
.pricing {
  padding: 40px;
  text-align: center;
}

.pricing h3 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.pricing p {
  font-size: 18px;
}

/* Style for the closed beta notice */
.closed-beta {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

/* Tab selectable classes */
.tile-container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.tile {
  width: 100%;
  padding: 20px;
  border: 1px solid #ccc;
}

.tab-button {
  background-color: #2C3E50;
  border: 1px solid black;
  border-bottom: 0px;
  display: inline;
  padding: 5px 5px 0px 5px;
}

.selected-tab {
  background-color: #2C3E50;
  color: whitesmoke;
}