/* ==========================================================================
   $BASE-DATE-PICKER
   ========================================================================== */
/**
 * The picker box.
 */
.picker__box {
    padding: 0 0;
    border:0;
    border-radius:1rem;
    overflow:hidden;
}
/**
 * The header containing the month and year stuff.
 */
.picker__header {
    text-align: center;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    padding: 1rem 0;
    background: var(--color-main);
    color: var(--cor-principal-texto);
}
/**
 * The month and year labels.
 */
.picker__month,
.picker__year {
    color:var(--cor-principal-texto);
    font-weight: 500;
}
.picker__year {
  
}
/**
 * The month and year selectors.
 */
.picker__headerContainer{
    flex-grow: 1;
    display:flex;
    justify-content:center;
    align-items:center;
    column-gap:1rem;
}
.picker__select--month,
.picker__select--year {
    border: 1px solid #b7b7b7;
    height: 2em;
    display: inline;
}

.picker__select--month {
  width: auto;
}
.picker__select--year {
  width: auto;
}
.picker__select--month:focus,
.picker__select--year:focus {
  border-color: #0089ec;
}
/**
 * The month navigation buttons.
 */
.picker__nav--prev,
.picker__nav--next {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:9999px;
    transition:all 150ms linear;
}

.picker__nav--prev:hover,
.picker__nav--next:hover {
  cursor: pointer;
  color: var(--cor-principal-texto);
  background: var(--cor-principal-hover);
}
.picker__nav--disabled,
.picker__nav--disabled:hover,
.picker__nav--disabled:before,
.picker__nav--disabled:before:hover {
  cursor: default;
  background: none;
  border-right-color: #f5f5f5;
  border-left-color: #f5f5f5;
}
/**
 * The calendar table of dates
 */
.picker__table {
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: inherit;
  width: 100%;
  margin-top: .75em;
  margin-bottom: .5em;
}
@media (min-height: 33.875em) {
  .picker__table {
    margin-bottom: .75em;
  }
}
.picker__table td {
  margin: 0;
  padding: 0;
}
/**
 * The weekday labels
 */
.picker__weekday {
  width: 14.285714286%;
  font-size: .75em;
  padding-bottom: .25em;
  color: #999;
  font-weight: 500;
  /* Increase the spacing a tad */
}
@media (min-height: 33.875em) {
  .picker__weekday {
    padding-bottom: .5em;
  }
}
/**
 * The days on the calendar
 */
.picker__day {
  width:40px;
  height:40px;
  border-radius:9999px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
  padding: 0;
  font-weight: 400;
  font-size:1.1rem;
  border: 0;
  color:rgba(0,0,0,0.5);
}
.picker__day--today {
  position: relative;
}
}
.picker__day--disabled:before {
  border-top-color: #aaa;
}
.picker__day--outfocus {
  color: #ddd;
}
    .picker__day--infocus:hover,
    .picker__day--outfocus:hover {
        cursor: pointer;
        color: #000;
        background: #F5F5F4;
    }
.picker__day--highlighted {
  border-color: #0089ec;
}
    .picker__day--highlighted:hover,
    .picker--focused .picker__day--highlighted {
        cursor: pointer;
        color: #000;
        background: #F5F5F4;
    }
.picker__day--selected,
.picker__day--selected:hover,
.picker--focused .picker__day--selected {
    background: var(--color-main);
    color: var(--cor-principal-texto);
}
.picker__day--disabled,
.picker__day--disabled:hover,
.picker--focused .picker__day--disabled {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #ddd;
  cursor: default;
}
.picker__day--highlighted.picker__day--disabled,
.picker__day--highlighted.picker__day--disabled:hover {
  background: #bbb;
}
/**
 * The footer containing the "today", "clear", and "close" buttons.
 */
.picker__footer {
  text-align: center;
  padding:0 1rem 1rem 1rem;
  display:flex;
  column-gap:1rem;

}
@media screen and (max-width:740px){
    .picker__footer{
        flex-direction:column;
    }
}
.picker__button--today,
.picker__button--clear,
.picker__button--close {
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-transform:uppercase;
  width: 100%;
  display: flex;
  align-items:center;
  justify-content:center;
  border-radius:0.75rem;
  text-align:center;
  padding:1rem 0.5rem;
  color:rgba(0,0,0,0.35);
  border:0;
}
.picker__button--today {
    background: var(--color-main);
    color: var(--cor-principal-texto);
}
.picker__button--clear {
    background: rgba(252, 165, 165, 0.1);
    color: #EF4444;
}
    .picker__button--close:hover {
        cursor: pointer;
        color: #000;
        background: #F5F5F4;
    }
.picker__button--today:hover{
    background:var(--cor-principal-hover);
    color:var(--cor-principal-texto);
}
.picker__button--clear:hover {
    background: rgba(252, 165, 165, 0.35);
    color: #EF4444;
}
.picker__button--today:focus,
.picker__button--clear:focus,
.picker__button--close:focus {
    background: #b1dcfb;
    border-color: #0089ec;
    outline: none;
}
.picker__button--today[disabled],
.picker__button--today[disabled]:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #ddd;
  cursor: default;
}
.picker__button--today[disabled]:before {
  border-top-color: #aaa;
}

/* ==========================================================================
   $DEFAULT-DATE-PICKER
   ========================================================================== */
