/* BODY */
body, html {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222222;
    display: flex;
    flex-direction: column;
}

body.no-scroll {
    overflow: hidden;
}

.contentinfrontofbackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#222222;
    background-image: url('/background.png');
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    z-index: -1; /* Ensure it stays behind other content */
}

.pagecontent {
    position: relative;
    z-index: 1; /* Ensure it stays above the background */
    padding: 20px;
    color: white;
}

/* HEADINGS */
h1 {
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}

h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    color: #ff5500;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    background-color: #222222;
}

/* HEADER */
header {
    color: #222;
    background-color: #ff5500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    padding: 10px;
}



/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays above other elements */
}

nav ul {
    width: 100%;
    background-color: #123c1c;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center; /* Centraliza verticalmente os itens */
    padding: 10px 0;
    margin: 0; /* Remove margem extra do nav */
    list-style: none; /* Remove os pontos das listas */
    text-align: center;
}

nav ul li {
    margin: 0 1em;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #ff5500;
}

/* WELCOME */
#welcome {
    background-color: #222222;
    color: #ff5500;
    padding: 15px;
    text-shadow: none;
    text-align: center;
    border: 0px solid black;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 4px rgba(0, 0, 0, 0.1);
    border-width: 0cm;

    width: 80%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

p{
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 20px;
    margin-left: 20px;
    text-align: center;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
}

/* CAIXAS */
.caixas {
    color: white;
    width: 75%;
    max-width: 600px;
    margin: 30px auto;
    margin-bottom: 100px;

    border-radius: 10px;
        /* Effect Opacity Glass*/
    background-color: #222222d2; /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the section */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8); /* Optional: subtle shadow for depth */   
}

/* FORMS */
.linkshomepage {
    margin-top: 20px;
}

.linkshomepage a{
    color: #fff;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

.linkshomepage a:hover {
    color: #ff5500;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    border-radius: 5px;
    box-sizing: border-box;
    color:#222222;
    font-size: 15px;
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 15px;
    color: #222;
}

/* Adiciona uma seta personalizada */
select::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Estilo para a opção selecionada */
select option {
    padding: 10px;
    background-color: #fff;
    color: #222;
}

/* Estilo para a opção desabilitada */
select option:disabled {
    color: #999;
}

button {
    background-color: #ff5500;
    border: none;
    cursor: pointer;
    font-weight: bold;
    padding: 8px 12px; /* Ajuste do padding */
    border-radius: 5px;
    color: #222222;
    font-size: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: background-color 0.3s; /* Transição suave para a cor de fundo */
}

button:hover {
    background-color: #ff5500d2;
}

.whatsapp-share-button {
    background-color: #123c1c;
    color: white;
    border: none;
    cursor: pointer;
    padding: 8px 12px; /* Ajuste do padding */
    border-radius: 5px;
    text-decoration: none; /* Remover sublinhado */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: background-color 0.3s; /* Transição suave para a cor de fundo */
    margin-top: 10px;
}

.whatsapp-share-button a{
    background-color: #123c1cd2;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none; /* Remover sublinhado */
}

.whatsapp-share-button:hover {
    background-color: #123c1cd2;
    transition: background-color 0.3s; /* Transição suave para a cor de fundo */
}

/*  NEXT BOOKINGS */
.nextbookings {
    max-width: 600px;
    margin: 10px auto;
    border-collapse: separate; 
}

.nextbookings table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: none;
    border-spacing: 10px;
}

.nextbookings th, .nextbookings td {
    color: #fff;
    text-align: center;
    border-radius: 10px;
    border-width: 0cm;

    background-color: #222222; /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 10px; /* Rounded corners */
    padding: 10px; /* Padding inside the section */
}

/* CALENDAR */
.calendar {
    width: 75%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: separate; 
    color: #fff;

    /* Effect Opacity Glass*/
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the section */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8); /* Optional: subtle shadow for depth */
}

.calendar .slot:hover {
    background-color: #ff5500;
    border: none;
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.6);
}

.calendar table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: none;
    border-spacing: 10px;
    border: none;
}

.calendar tr:nth-child(even) {
    background-color: rgb(from color r g b);
}

.calendar th, .calendar td {
    padding: 10px;
    font-size: 13px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.);
    border-width: 0cm;
    background-color: #222;
}

.calendar th {
    background-color: #123c1c;
    color: white;
    padding-top: 15px;
    padding-bottom: 15px;
}

.slot {
    cursor: pointer;
}

.selected {
    background-color: blue;
    color: white;
}

.reserved {
    color: #ff5500;
    font-weight: bold;
    pointer-events: none; /* Desabilita cliques */
    text-align: center;
}

option[disabled] {
    color: #888; /* Cinza para horas indisponíveis */
    font-style: italic;
    text-decoration: line-through;
}

.booking-details {
    margin-top: 20px;
    text-align: center;
    padding-bottom: 100px;
}

.hidden {
    display: none;
}

/* PROFILE */
.accountinfo {
    margin-bottom: 0px;
    margin-bottom: 0px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    text-justify: inter-word;
    line-height: 1.7;
    font-size: 15px;
}

.logocondominio {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8%;
}

.alertprofile {
    margin-bottom: 0px;
    margin-bottom: 0px;
    margin-right: 10px;
    margin-left: 10px;
    text-align: center;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.4;
    font-size: 13px;
}

hr {
  border: 0.2rem solid #ff5500;
  border-radius: 100rem;
  width: 100%;
  opacity: 1.0;
  margin-top: 40px;
}


/* BOOKING */
.hidden {
    display: none;
}

#booking-info {
    width: 80%;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f9f9f9;
    margin: 20px auto;
    text-align: center;
}

#confirm-booking, #cancel-booking {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

#cancel-booking {
    background-color: #ff5500;
}

/* GRÁFICOS */
.chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.returnbtn {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    color:#222222;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.returnbtn a{
    text-decoration: none;
}

/* POP-UP */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}
.popup-content {
    /* Effect Opacity Glass*/
    background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border-radius: 10px; /* Rounded corners */
    padding: 20px; /* Padding inside the section */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.8); /* Optional: subtle shadow for depth */    width: 50%;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35px;
    cursor: pointer;
    background-color: #123c1c;
    padding: 10px;
}
.popup-body {
    flex-grow: 1;
    overflow-y: auto;
    font-size: 11px;
}
