* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: url('images/tesla.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  transition: background-image 1s ease-in-out;
}


.fa-solid,.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.cale {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #1c7e51;
}

.app-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.596);
  color: white;
  border-radius: 10px;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  gap: 10px;
  width: fit-content;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.app-button:hover {
  background-color: #222;
}

.app-button svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.app-button-text {
  font-size: 16px;
}

.app-button svg {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

#qr-code {
  height: 100px;
  display: block;
  margin: 0 auto;
  border: 4px solid #000;
  border-radius: 8px;
  padding: 5px;
  background-color: white;
}

.no-results {
  color: white;
  text-align: center;
  font-weight: bold;
  background-color: transparent;
  padding: 10px;
}

.no-results:hover {
  color: white;
  text-align: center;
  font-weight: bold;
  background-color: transparent;
  padding: 10px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.small-select {
  font-size: 12px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 50px;
  height: 30px;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  text-align: center;
}

#language-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-align-last: center;
  width: 80px;
  height: 40px;
  background-color: #1c7e51;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 22px;
  padding-right: 30px;
}

.remember-me-container {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.remember-me-container input[type="checkbox"] {
  cursor: pointer;
}

.remember-me-container label {
  cursor: pointer;
  font-size: 14px;
  color: #eee;
}

.footer-info {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: #333;
  opacity: 0.8;
  padding: 10px 0;
}

#language-select:hover {
  background-color: #013d21;
}

#language-select option {
  background-color: #eee;
  color: #1c7e51;
  text-align: center;
}

.small-select option {
  text-align: center;
}

.leftplate{
  padding-left: 10vh;
}

.cale:hover {
  color: #ff5733;
}

.aqui {
  color: #013d21;
}

.agendamentos {
  background: #1c7e51;
  text-align: center;
  height: 30px;
  vertical-align: middle;
  padding: 10px 15px;
  border-bottom: 2px solid #f8f9fd;
  font-size: 14px;
  width: 45vh;
}

.container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
}

.container2 {
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  width: 100%;
  padding: 20px;
  border-radius: 8px;
}

.form-section, .calendar-section {
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(8,7,16,0.6);
  width: 48%;
  padding-top: 20px;
}

#driver option {
  display: flex;
  justify-content: space-between;
  padding-right: 10px;
}

.matricula {
  float: right;
  opacity: 0.6;
  margin-left: auto;
}

.form-section2 {
  padding: 20px;
  border-left: 20px solid rgba(0, 0, 0, 0.397);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.493);
  background-color: rgba(0, 0, 0, 0.616);
  backdrop-filter: blur(10px);
  animation: gradientAnimation 15s ease infinite;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  height: 80vh;
  width: 150vh;
}

.form-section {
  flex: 1;
  border-left: 20px solid rgba(0, 0, 0, 0.397);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.493);
  background-color: rgba(0, 0, 0, 0.616);
  backdrop-filter: blur(10px);
  animation: gradientAnimation 15s ease infinite;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#form-title, #form-day {
  margin: 10px 0;
  text-align: center;
  color: #fff;
}

.form-title {
  font-size: 100px;
  width: 50%;
  margin: 0 auto;
  font-weight: 700;
}

.form-day {
  width: 50%;
  margin: 0 auto;
  font-size: 20px;
  position: relative;
  bottom: 20px;
}

#logo {
  width: 80%;
  max-width: 350px;
  max-height: 80px;
  height: auto;
  object-fit: contain;
  margin: 0;
}

.loginimg {
  padding: 0.9em 1.0em;
  width: 50px;
  background-color: #1c7e51;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.loginimg:hover {
  background-color: #013d21;
}

.calendar-section {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.80);
  box-shadow: 10px 0 40px rgba(255, 255, 255, 0.493);
  backdrop-filter: blur(10px);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  padding-top: 20px;
}

#form-content {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.notification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px;
  font-size: 16px;
  text-align: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.notification.success {
  background-color: #4caf50;
  color: white;
}

.notification.error {
  background-color: #f44336;
  color: white;
}

#booking-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.booking-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-style {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.input-container {
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

input[type="text"], input[type="email"], input[type="time"], input[type="password"], textarea, select {
  padding: 10px 10px 10px 30px;
  margin: 10px 0;
  box-sizing: border-box;
  color: #333;
  background-color: rgb(255, 255, 255);
  border: none;
  border-radius: 5px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  outline: none;
  transition: box-shadow 0.3s ease-in-out;
}

.input-container i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #1c7e51;
}

.input-container i#toggle-password {
  left: auto;
  right: 10px;
  color: #1c7e51;
  cursor: pointer;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="time"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
  box-shadow: 0 0 8px rgba(0, 49, 75, 0.7);
}

.forgot-password {
  margin-top: 10px;
  text-align: center;
}

.forgot-password a {
  color: #ddd;
  text-decoration: none;
}

.forgot-password a:hover {
  color: #eee;
  text-decoration: none;
}

.forgot-password .aqui {
  color: #1c7e51;
  text-decoration: none;
}

.forgot-password .aqui:hover {
  color: #013d21;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: none;
}

.forgot-password2 a {
  color:  #013d21;
  text-decoration: none;
}

.forgot-password2 a:hover {
  color:  #1c7e51;
  text-decoration: underline;
  transition: box-shadow 0.3s ease-in-out;
}

.month-line {
  border-color: #1c7e51;
  position: relative;
  top: 45px;
  width: 100%;
}

button {
  background-color: #1c7e51;
  border: none;
  padding: 15px;
  width: 100%;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #013d21;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  width: 70px;
  height: 60px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
  box-sizing: border-box;
}

td {
  cursor: pointer;
}

td:hover {
  background-color: #1c7e51;
  color: #fff;
  border-radius: 10%;
}

td:empty:hover {
  background-color: transparent;
  cursor: default;
}

.month-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.month-navigation button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  transition: color 0.3s;
  margin: 0 10px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .form-section, .calendar-section {
    width: 100%;
    margin-bottom: 20px;
  }
  table {
    font-size: 12px;
  }
  th, td {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  #logo {
    width: 70%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  #logo {
    width: 60%;
    max-width: 250px;
  }
}

@media (max-width: 768px) {
  #driver-profile {
    display: none;
  }
}

#current-month {
  text-align: center;
  white-space: nowrap;
  font-size: 24px;
}

#login-btn {
  background-color: #1c7e51;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#login-btn:hover {
  background-color: #013d21;
}

.fa-bars {
  margin: 0;
  font-size: 24px;
}

.driver-profile {
  display: none;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  width: 200px;
  height: 300px;
  border: 1px solid #ccc;
  padding: 10px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.driver-profile img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.driver-profile h3 {
  margin: 10px 0 5px;
  font-size: 24px;
  color: #333;
}

.center-text {
  text-align: center;
  margin: 20px 0;
  color: #013d21;
}

.driver-profile p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
}

.btn-sair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ff3333;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

.btn-notification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, transform 0.2s;
}

.btn-notification:hover, .btn-sair:hover {
  background-color: #013d21;
  transform: scale(1.05);
}

.notification-container {
  position: relative;
}

.box {
  padding: 20px;
  overflow: hidden;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.form-section2 p {
  font-size: 20px;
  color: #eee;
  margin-left: 15px;
}

@media (max-width: 768px) {
  .btn-notification, .btn-sair {
    width: 100%;
    padding: 15px;
    font-size: 18px;
  }
}

.scrollable {
  overflow-y: scroll;
  max-height: 500px;
  padding-right: 0px;
  box-sizing: content-box;
  background: #036aa12c;
}

.scrollable {
  scrollbar-width: thin;
  scrollbar-color: #1c7e51 transparent;
}

.scrollable::-webkit-scrollbar {
  width: 10px;
}

.scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.scrollable::-webkit-scrollbar-thumb {
  background-color: #1c7e51;
  border-radius: 10px;
}

.scrollable::-webkit-scrollbar-thumb:hover {
  background-color: #1c7e51;
}

.responsive-table {
  font-size: 14px;
  overflow-x: auto;
  margin: 1px 0;
}

.responsive-table h2 {
  text-align: center;
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th, .responsive-table td {
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.table-header {
  background-color: #333;
  color: #fff;
}

.responsive-table th {
  background-color: transparent;
  color: white;
}

@media (max-width: 768px) {
  .responsive-table th, .responsive-table td {
    padding: 10px;
    font-size: 14px;
  }
}

.agenda-day {
  background-color: #ffcccb;
}

.has-appointment {
  background-color: #ffcc00;
  color: white;
}

.dropdown {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
  top: 13%;
}

#dropdown {
  display: none;
  position: absolute;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-radius: 6px;
  padding: 10px;
  z-index: 999;
}

#dropdown.active {
  display: block;
}

.notification-tooltip {
  position: absolute;
  right: 10px;
  top: 60px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  padding: 10px;
  display: none;
  width: 250px;
}

.tooltip-item {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.tooltip-item:last-child {
  border-bottom: none;
}

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.notification-container {
  position: relative;
}

.btn-notification {
  position: relative;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 4px 6px;
  font-size: 12px;
  display: inline-block;
}

.notification-container.has-notifications .notification-badge {
  visibility: visible;
}

.btn-excluir {
  background-color: #dc3545;
  width: 100px;
  gap: 5px;
}

.btn-confirmar {
  background-color: #00e0bc;
  width: 100px;
  gap: 5px;
}

.btn {
  padding: 5px;
  margin: 2px;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  width: 100px;
  font-size: 12px;
}

.menu-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.list{
  background: #ddd;
  color:#333;
}

.list td:hover {
  background-color: #ddd;
  color:#333;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.travel-type-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #EEE;
  color: #333;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.travel-type-input:checked + .travel-type-btn {
  background-color: #1c7e51;
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  color: #eee;
}

.travel-type-btn:hover {
  background-color: #013d21;
  color: #eee;
}

.hidden-form {
  display: none;
}

.active-form {
  display: block;
}

#calendar td {
  position: relative;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 10;
}

.tooltip-agenda {
  background-color: white;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: absolute;
  font-size: 14px;
  min-width: 180px;
  color: #333;
  animation: fadeIn 0.2s ease-in-out;
  border: 1px solid #ccc;
}

.tooltip-agenda ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 0;
}

.tooltip-agenda li {
  list-style-type: disc;
  font-size: 13px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.footer-cta {
  position: fixed;
  left: 0;
  bottom: 60px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1001;
  pointer-events: none;
}

.btn-novo-cliente {
  background-color: #1c7e51;
  border: none;
  padding: 15px;
  width: 100%;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .btn-novo-cliente {
    width: 92vw;
  }
}

.calendar-viewport{
  flex:1;
  position:relative;
  overflow:hidden;
  background-color: rgba(255, 255, 255, 0.80);
  box-shadow: 10px 0 40px rgba(255, 255, 255, 0.493);
  backdrop-filter: blur(10px);
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding-top: 20px;
}

.calendar-track{
  display:flex;
  width:200%;
  transition: transform .6s ease-in-out;
}

.calendar-viewport.show-login .calendar-track{
  transform: translateX(-50%);
}

.calendar-viewport .calendar-section{
  width:50%;
  box-shadow:none;
  border-radius:0;
  padding:20px;
}

.calendar-viewport.show-login .footer-cta,
.calendar-viewport.show-login .footer-info{
  visibility:hidden;
}

@media (max-width: 768px){
  .calendar-viewport .calendar-section{ width:100%; }
  .calendar-track{ width:200%; }
}

/* ===== Minimal Responsive Patch (non-intrusive) ===== */

/* Reduce parallax jank only on mobile */
@media (max-width: 1024px){
  body{ background-attachment: scroll; }
}

/* Inputs: avoid overflow on small screens; keep original look */
.input-container input,
input[type="time"]{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Normalize time input to height/padding similar to text/email without changing theme */
input[type="time"]{
  -webkit-appearance: none;
  appearance: none;
  height: 44px;
  line-height: 44px;
  padding: 10px 10px 10px 34px;
}
@supports (-webkit-touch-callout: none){
  input[type="time"]{ font-size:16px; } /* prevent zoom on iOS */
}

/* Buttons: keep natural width (avoid full-line stretch) without changing existing styles */
button,
.btn,
.app-button,
.btn-notification,
.btn-sair,
.btn-confirmar,
.btn-excluir,
.travel-type-btn{
  width: auto !important;
  max-width: 100%;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Tables: allow horizontal scroll only when needed */
.table-wrap{ overflow-x:auto; }
.table-wrap > table{ width: 100%; }

/* Small screens: stack main columns but keep sections as-is */
@media (max-width: 768px){
  .container, .container2{
    flex-wrap: wrap;
  }
  .form-section, .calendar-section{
    width: 100%;
  }
}

/* ===== Center header logo and action buttons (non-intrusive) ===== */
.header{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;   /* center the logo/link block */
}
.header #logo{
  display: block;
  margin: 0 auto;
}
/* Keep login icon on the left and language on the right, without affecting centering */
.header .loginimg{
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.header .lang-select{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Center primary action buttons below the form */
.button-group{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.button-group .button,
.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Fallback: if a specific login/create user container exists, center its buttons */
.auth-actions,
.user-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
}
.auth-actions .button,
.user-actions .button{
  display: inline-flex;
}

/* Mobile alignment: keep same layout */
@media (max-width: 576px){
  .header .loginimg{ left: 8px; }
  .header .lang-select{ right: 8px; }
}

/* === Center "Valor estimado" & "Agendar" with equal widths === */
.booking-form .button-group,
.button-group{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;     /* equal widths */
  gap: 12px;
  max-width: 520px;           /* keeps them compact */
  margin: 0 auto;             /* center in form */
  justify-items: stretch;
  align-items: center;
}
.button-group .button{
  width: 100% !important;     /* fill the grid cell */
  height: 44px;               /* same height for both */
}

/* Stack on small screens */
@media (max-width: 520px){
  .booking-form .button-group,
  .button-group{
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
}

/* === Robust logo centering (works for index & login page) === */
#logo{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* If there's a login-specific header/container, center it too */
.login-header, .auth-header, .header-login, .login-page .header{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Login page header centering & alignment ===== */
.header{
  position: relative;            /* anchors absolute children */
  display: flex;
  align-items: center;           /* vertical center */
  justify-content: center;       /* center the logo */
  min-height: 64px;
}

/* Center the logo itself */
#logo{
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Keep back/login icon pinned left, not affecting centering */
.header .loginimg{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;                    /* remove extra vertical padding that misaligned it */
  width: 44px;
  height: 44px;
  object-fit: contain;
}

/* Keep language select pinned right, not affecting centering */
#language-select{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ===== Login form buttons: same size and centered ===== */
#booking-form .button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;                  /* equal width */
  height: 44px;                  /* equal height */
  margin: 10px auto;             /* center horizontally */
}

/* On small screens, keep same width or go full-width if needed */
@media (max-width: 420px){
  #booking-form .button{
    width: 100%;
    max-width: 320px;
  }
}

/* === Refine sizes: login/back buttons balanced === */

/* Back arrow (loginimg) smaller */
.header .loginimg{
  width: 36px !important;
  height: 36px !important;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Login and Create New Client buttons balanced */
#booking-form .button{
  width: 220px !important;
  height: 40px !important;
  margin: 8px auto;
  font-size: 15px;
  border-radius: 6px;
}

/* Responsive: keep width auto on very narrow screens */
@media (max-width: 420px){
  #booking-form .button{
    width: 100% !important;
    max-width: 260px;
  }
}
