/*
 Theme Name: Divi Child
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme
 Author: Elegant Themes
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* EASY APPOINTMENTS*/

.appointment-card {
   background: #ffffff;
   border-radius: 8px;
  
   padding: 24px;
   max-width: 600px;
   margin: 20px auto;
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.appointment-header {
   border-bottom: 2px solid #f0f0f0;
   margin-bottom: 20px;
   padding-bottom: 15px;
}

.appointment-title {
   color: #2c3e50;
   font-size: 1.5em;
   font-weight: 600;
   margin: 0 0 10px 0;
}

.appointment-field {
   margin: 12px 0;
   display: flex;
   align-items: flex-start;
}

.field-label {
   color: #818181;
   font-weight: 500;
   flex-shrink: 0;
   flex-grow: 0;
   white-space: pre;  /* Preserva os espaços */
}

 .field-label::after {
        content: " ";
    }

.field-value {
   color: #2c3e50;
   flex-grow: 0;
}

.status-badge {
    display: inline-block;
    padding: 1px 12px;
    box-shadow: 0px 0px 3px 0px #958f8f;
    border-radius: 5px;
    background: #e8f5e9;
    color: #2e7d32;
    font-weight: 500;
    font-size: 1em;
}

.status-badge.pending {
   background: #E6E6FA; /* Cor lilás para pending */
   color: #6A5ACD; /* Cor do texto para pending */
}

.confirm-button {
   display: inline-block;
   background: #4CAF50;
   color: white;
   padding: 10px !important;
    box-shadow: 0px 0px 10px #b1b1b1;
   border-radius: 6px;
   text-decoration: none !important;
   font-weight: 500;
   margin-top: 20px;
   transition: background-color 0.2s;
}

.confirm-button a{
     color: white;
}

.confirm-button:hover {
   background: #43A047;
}

.divider {
   height: 1px;
   background: #f0f0f0;
   margin: 20px 0;
}

#TB_title {
    background: black !important;
    color: white;
}

/*calendario*/

 /* Container principal */
   .fc {
       background: linear-gradient(145deg, #ffffff, #f6f8fa);
       border-radius: 16px;
       box-shadow: 0 8px 30px rgba(0,0,0,0.12);
       padding: 25px;
       margin: 20px 0;
       font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
   }

   /* Cabeçalho centralizado e estilizado */
   .fc-header-toolbar {
       margin-bottom: 2em !important;
       padding: 15px;
       background: linear-gradient(135deg, #0056b3, #007bff);
       border-radius: 12px;
       color: white !important;
       display: flex;
       justify-content: center;
       align-items: center;
       flex-wrap: wrap;
       gap: 20px;
   }

   /* Ajuste para centralizar todos os elementos do cabeçalho */
   .fc-left, .fc-right, .fc-center {
       float: none !important;
       text-align: center;
   }

   /* Título do calendário */
   .fc-center h2 {
       font-size: 1.8em !important;
       color: white !important;
       font-weight: 700 !important;
       text-shadow: 0 2px 4px rgba(0,0,0,0.2);
       margin: 0 15px !important;
   }

   /* Botões do calendário */
   .fc-button {
       background: rgba(255,255,255,0.15) !important;
       border: 1px solid rgba(255,255,255,0.3) !important;
       color: white !important;
       text-transform: capitalize !important;
       padding: 10px 20px !important;
       height: auto !important;
       transition: all 0.3s ease !important;
       font-weight: 500 !important;
       box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   }

   .fc-button:hover {
       background: rgba(255,255,255,0.25) !important;
       transform: translateY(-1px);
   }

   .fc-button.fc-state-active {
       background: white !important;
       color: #0056b3 !important;
       border-color: white !important;
       box-shadow: 0 4px 8px rgba(0,0,0,0.15);
   }

   /* Cabeçalhos dos dias */
   .fc-day-header {
       text-align: center !important;
       background-color: #f5f5f5 !important;
       padding: 15px 0 !important;
       font-weight: 600 !important;
       text-transform: uppercase;
       font-size: 0.9em !important;
       border: none !important;
   }
   
   th.fc-day-header {
    border: 0;
    font-size: 14px !important;
    text-align: right;
    text-transform: uppercase;
    color: #2ea3f2 !important;
}

   /* Células dos dias */
   .fc-day {
       transition: all 0.3s ease;
       border: 1px solid #e9ecef !important;
   }

   .fc-day:hover {
       background-color: #f8f9fa;
       transform: scale(1.02);
       z-index: 1;
       box-shadow: 0 4px 12px rgba(0,0,0,0.05);
   }

   .fc-today {
       background: linear-gradient(45deg, #e3f2fd, #bbdefb) !important;
   }

   /* Eventos */
   .fc-event {
       border: none !important;
       border-radius: 8px !important;
       padding: 6px 10px !important;
       margin: 3px 6px !important;
       transition: all 0.3s ease;
       box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   }

   .fc-event:hover {
       transform: translateY(-2px) scale(1.02);
       box-shadow: 0 4px 15px rgba(0,0,0,0.15);
   }

   /* Classes de status com gradientes */
   .fc-event.darkgreen {
       background: linear-gradient(135deg, #28a745, #34ce57) !important;
   }

   .fc-event.grape {
       background: linear-gradient(135deg, #6f42c1, #8250df) !important;
   }

   .fc-event.darkblue {
       background: linear-gradient(135deg, #007bff, #1a88ff) !important;
   }

   .fc-event.graffit {
       background: linear-gradient(135deg, #6c757d, #868e96) !important;
   }

   /* Mapa de cores estilizado */
   .ea-calendar-color-map {
       margin-top: 25px;
       padding: 20px;
       background: linear-gradient(145deg, #ffffff, #f6f8fa);
       border-radius: 12px;
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 20px;
       flex-wrap: wrap;
       box-shadow: 0 4px 15px rgba(0,0,0,0.05);
   }

   .ea-calendar-color-map > div:first-child {
       font-weight: 700;
       color: #2c3e50;
       font-size: 1.1em;
   }

   .ea-calendar-color-map .status {
       padding: 8px 15px;
       border-radius: 6px;
       cursor: pointer;
       transition: all 0.3s ease;
       box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   }

   .ea-calendar-color-map .status:hover {
       transform: translateY(-2px);
       box-shadow: 0 4px 12px rgba(0,0,0,0.15);
   }

   /* Responsividade melhorada */
   @media (max-width: 768px) {
       .fc-header-toolbar {
           flex-direction: column;
           padding: 15px 10px;
       }
       
       .fc-center h2 {
           font-size: 1.4em !important;
           margin: 10px 0 !important;
       }

       .fc-button {
           padding: 8px 15px !important;
       }
   }
     
     .fc-icon-left-single-arrow:after {
        font-size: 100% !important;
}
   
     .fc-icon-right-single-arrow:after {
    font-size: 100% !important;
}

/* Botão confirmar Easy Appointments */

#confirm-button {
    background-color: #4CAF50;  /* Verde */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

#confirm-button:hover {
    background-color: #45a049;  /* Verde mais escuro */
}

#confirm-button:active {
    background-color: #3d8b40;  /* Verde ainda mais escuro */
    transform: scale(0.98);
}

/* Para a div que contém o botão */
.confirm-button-div {
    text-align: center;
    margin: 20px 0;
}

select[name="worker"] {
    border: 2px solid #b4cc12 !important;
    background-color: #ffff69 !important;
    color: #000000 !important;
}

h3.ea-done-message {
    font-size: 14px !important;
    line-height: 1.4em !important;
    color: green !important;
}

.fas, .far {
    margin-right: 8px;
}

/*change the logo size when the header shrinks*/
.pa-fixed-header  img {
	max-width: 70%;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.flag-fixed-header {
width: 18px;
max-width: 70%;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

.pa-fixed-header .et_pb_code_0_tb_header{
    padding-top: 5px;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

@keyframes rotateLogo {
    0% {
        transform: rotateY(0deg);
    }
    61.54% {
        transform: rotateY(360deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.rotate-logo {
    perspective: 1000px; /* Adiciona perspectiva para melhorar o efeito 3D */
}

.rotate-logo img {
    animation: rotateLogo 13s linear infinite;
    transform-style: preserve-3d;
    backface-visibility: visible; /* Garante que a parte de trás da imagem seja visível durante a rotação */
}

.rotate-logo-big {
    perspective: 1000px;
}

.rotate-logo-big img {
    border-radius: 50%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Opção 1: Rotação em Y (efeito de moeda) */
@keyframes rotateLogoY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.rotate-logo-big img {
    animation: rotateLogoY 8s linear infinite;
}

.rotate-logo img {
    padding: 3px;
}

.web-site-ufsp > a:before {
    font-family: 'ETMODULES';
    content: '\e0e3';
    text-align: center;
    margin-right: 10px;
    margin-left: -10px;
    color: #e9e9e9;
    font-size: 1em;

}