@import '../../variable.less';

.date-todo-item{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(239, 239, 239, 1);
  background: #ffffff;
}
.date-todo-card{
  margin-bottom: 60px;
}
.date-todo-card > .date-todo-item:first-child{
  border-radius: 7px 7px 0 0;
}
.date-todo-card > .date-todo-item:last-child{
  border-radius: 0 0 7px 7px;
}

.date-button{
  height: 30px;
  line-height: 30px;
}
.date-modal{
  width: 350px !important;
  :global{
    .am-modal-body{
      padding: 0 !important;
    }
    .am-list-item .am-input-control input{
      text-align: right !important;
    }
  }
}
.modal-form-footer{
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  :global{
    .am-button{
      width: 102px;
      height: 40px;
      line-height: 40px;
    }
  }
}

.bg-gray{
  color: #ffffff !important;
  background: rgba(152, 152, 152, 1) !important;
}

.event-footer{
  height: 45px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
}
.content-end{
  width: 100%;
  text-align: center;
  color: rgba(67, 67, 67, 0.2);
  margin-top: 20px;
}
.event-footer-button{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: @primary !important;
  color: #ffffff;
}
.mail-content{
  margin-top: 38px;
}
.auto-day-picker{
  :global{
    .DayPicker{
      font-size: 20px;
      width: 100%;
      background: #ffffff;
      border: 1px solid rgba(38, 104, 255, 0.1);
      border-radius: 8px;
    }
    .DayPicker-Day{
      padding: 0;
      width: 43px;
      height: 43px;
    }
    .DayPicker-Day--birthday:not(.DayPicker-Day--outside) {
      position: relative;
      &:after{
        position: absolute;
        content: '';
        display: block;
        width: 4px;
        height: 4px;
        border-radius: 2px;
        background-color: @primary !important;
        left: 50%;
        margin-left: -2px;
        margin-top: -2px;
      }

      //background-color: rgba(51, 51, 51, 1);
      //color: white;
    }
    .DayPicker-Day--selected.DayPicker-Day--birthday:after{
      background-color: #ffffff !important;
    }
    .DayPicker-Day .DayPicker-Day--birthday .DayPicker-Day--selected{
      background: @primary !important;
      color: #ffffff;
    }
    .DayPicker-NavButton{
      position: static;
      margin-top: 20px;
      margin-left: 30px;
    }
    .DayPicker-NavButton--next{
      margin-left: 205px;
    }
    .DayPicker-Caption > div{
      text-align: center;
      font-size: 20px;
      margin: -23px auto 0;
      width: 200px;
    }
    .DayPicker-Month{
      margin-top: -10px;
    }
  }
}
.mb-50{
  margin-bottom: 100px;
}
.auto-upload{
  margin: 10px 15px;
  height: 51px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(60, 151, 255, 1);
  background: rgba(234, 244, 255, 1);
  font-size: 17px;
}
.upload-title{
  padding: 0 15px;
}
.hidden-upload{
  position: absolute;
  z-index: 10;
  //visibility: hidden;
}
.date-info{
  :global{
    .am-list-item.am-input-disabled .am-input-label{
      color: #000000;
    }
    .am-textarea-disabled .am-textarea-label{
      color: #000000;
    }
    .am-textarea-control textarea:disabled{
      color: #000000;
    }
  }
}

.modal-form-footer-right{
  padding: 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  :global{
    .am-button{
      width: 102px;
      height: 40px;
      line-height: 40px;
    }
  }
}
