@import "fontawesome.min.css";

.react-calendar__month-view__weekdays__weekday {
  text-align: center;
}

.react-calendar__navigation {
  text-align: center;
}

main.container.user {
  /* min-height: 60vh; */
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  padding-bottom: 8rem;
}

main.container.guest {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* continut afisat la mijloc pe vericala */
  justify-content: center;
}

.px-large {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

article.home-page-article > a > img {
  width: 45%;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-top-right {
  position: absolute;
  top: 0;
  right: 0;
}

.position-middle-right {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.title-font {
  font-family: "Roboto Condensed", sans-serif;
}

.body-font {
  font-family: "Open Sans", sans-serif;
}

.w-auto {
  width: auto;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

.borderless {
  border: none;
}

.text-bold {
  font-weight: bold;
}

.text-small {
  font-size: small;
}

.text-smaller {
  font-size: smaller;
}

.text-large {
  font-size: large;
}

.text-larger {
  font-size: larger;
}

.text-x-large {
  font-size: x-large;
  font-weight: 300;
}
.text-xx-large {
  font-size: xx-large;
  font-weight: 400;
}

.text-muted {
  color: var(--muted-color);
}

.text-primary {
  color: var(--bs-primary);
}

.text-success {
  color: var(--bs-success);
}

.text-warning {
  color: var(--bs-orange);
}

.text-danger {
  color: var(--bs-danger);
}

.border-danger {
  box-shadow: 0 0 0 var(--border-width) var(--form-element-invalid-border-color) !important;
}

.text-left,
.text-start {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right,
.text-end {
  text-align: right;
}

.text-justify {
  text-align: justify;
}

.position-relative {
  position: relative;
}

.close-camera {
  position: absolute;
  top: 0.4rem;
  right: 0.8rem;
  z-index: 1030;
}

.float-start {
  float: left;
}

.float-end {
  float: right;
}

.login-form {
  max-width: 500px;
}

.inline-block {
  display: inline-block !important;
}

button.warning,
a.warning {
  background-color: var(--bs-orange);
}

button.secondary,
a.secondary {
  background-color: var(--bs-secondary);
}

dialog article .close {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  background-image: var(--icon-close);
  background-position: center;
  background-size: auto;
  background-repeat: no-repeat;
  opacity: 1;
}

table > thead > tr > th {
  font-size: medium;
  opacity: 0.6;
}

.push-top {
  margin-top: -1rem;
}

.outline {
  --border-color: var(--primary);
  /* --color         : var(--primary-inverse); */
  --box-shadow: var(--button-box-shadow, 0 0 0 rgba(0, 0, 0, 0));
  padding: var(--form-element-spacing-vertical)
    var(--form-element-spacing-horizontal);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  outline: 0;
  background-color: transparent;
  box-shadow: var(--box-shadow);
  font-weight: var(--font-weight);
  font-size: 1rem;
  line-height: var(--line-height);
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), box-shadow var(--transition);
}

.text-warning.outline {
  --border-color: var(--bs-orange);
}

.text-danger.outline {
  --border-color: var(--bs-danger);
}

input[type="number"] {
  text-align: right;
}

.justify-content-start {
  display: flex;
  align-items: center;
  justify-content: start;
}

.justify-content-end {
  display: flex;
  align-items: center;
  justify-content: end;
}

.justify-content-between {
  display: flex;
  /* align-items    : middle; */
  justify-content: space-between;
  flex-wrap: wrap;

  &.rtl {
    flex-direction: row-reverse;
  }
}

a > i,
button > i {
  margin-right: 0.5rem !important;
}

form label {
  color: var(--muted-color);
}

fieldset label {
  color: var(--muted-color);
}

tr.table-success td {
  background-color: #d1ffbd;
}

[data-theme="dark"] tr.table-success td {
  background-color: #153e03;
}

@media only screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) tr.table-success td {
    background-color: #153e03;
  }
}

table > thead > tr.borderless > td,
th {
  border: none;
}

div.modal:has([aria-modal]) {
  display: block;
}

img.nav-logo {
  width: 60%;
}

nav.navbar img.img-logo {
  width: 140px;
  height: auto;
  margin: -12px 0;
}

nav.navbar a:has(> img.img-logo) {
  margin-left: -2rem;
}

ul.flex-column.img-logo img,
ul.flex-row.img-logo img {
  width: 60px;
  height: auto;
}

.text-underline {
  text-decoration: underline;
}
img.img-preview {
  width: auto;
  height: 80px;
}
img.img-responsive.img-footer {
  height: 100px;
  width: auto;
}

.w-90 {
  width: 90%;
}

a.btn-link-list:not(:last-child)::after {
  content: " | ";
  color: var(--muted-color);
}
a.btn-link-list:first-child {
  padding-left: 0;
}

/* BugReport.css */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.bug-modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 500px;
}

/* MoodRing.css */
.mood-state-container {
  text-align: center; /* Center everything inside the container */
  margin-bottom: 20px; /* Add some space between each mood state */
}

.mood-label {
  font-size: 1.5em; /* Larger text for visibility */
  color: #333; /* Dark color for the text */
}

.mood-option {
  margin-bottom: 10px; /* Space before the slider */
  font-size: 1.1em; /* Slightly larger text */
  color: #666; /* Lighter text color */
}


.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.bug-modal-content {
  position: relative;
  padding: 20px;
  /* Additional styles */
}

.submission-message {
  position: fixed;
  top: 5%;  /* Center more towards the middle of the viewport */
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f8f9fa;
  color: black;  /* Use a clearly visible text color */
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1050;  /* Make sure this is higher than most other elements */
  width: auto;
  min-width: 200px;  /* Ensure it is not too small */
  text-align: center;  /* Center text for better readability */
}

.slider-container {
  position: relative;
  width: 100%;
  margin: 10px 0; /* Add margin for visual separation */
}

.styled-slider {
  width: 100%;
  height: 15px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(to right, #ff0000, #ffff00, #00ff00); /* Red to yellow to green gradient */
  outline: none;
}

.slider-ticks {
  display: flex;
  position: absolute;
  width: 100%;
  top: 10%;
  height: 15px; /* Same height as slider for alignment */
  pointer-events: none; /* Ensure clicks pass through to the slider below */
}

.tick-mark {
  height: 15px; /* Full height of the slider for visibility */
  width: 1px; /* Thin line for the tick */
  background-color: black; /* Color of the tick marks */
  position: absolute;
}

/* This CSS generates specific left positions for each tick based on percentage */
.tick-mark:nth-child(1) { left: 20.5%; }
.tick-mark:nth-child(2) { left: 20.5%; }
.tick-mark:nth-child(3) { left: 40%; }
.tick-mark:nth-child(4) { left: 60%; }
.tick-mark:nth-child(5) { left: 79.5%; }
.tick-mark:nth-child(6) { left: 79.5%; }
