.cal button {
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
}
.cal {
    box-shadow: 0px 5px 20px 3px rgba(0, 0, 0, 0.2);
    width: 280px;
    font-size: 12px;
    font-family: "Microsoft Yahei", "PingFang SC";
    padding-bottom: 10px;
    border-radius: 3px;
}
.cal__title {
    font-weight: 500;
    text-align: center;
    padding: 10px 8px;
    margin: 0;
}
.cal__sub {
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    padding: 10px 18px;
}
.cal__sub button:hover {
    background-color: #ff5810;
    color: white;
    border-radius: 50%;
}
.cal table {
    padding: 10px 8px;
    width: 100%;
}
.cal th,
.cal td {
    font-weight: 500;
    padding-top: 3px;
    padding-bottom: 3px;
}
.cal td:not([class*="hide"]) {
    cursor: pointer;
    text-align: center;
    position: relative;
}
.cal td:hover,
.cal td.active {
    color: white;
}
.cal td:not([class*="hide"]):hover::before,
.cal td:not([class*="hide"]).active::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    z-index: -1;
    position: absolute;
    background-color: #ff5810;
    border-radius: 50px;
}
.cal__btns {
    display: flex;
    padding: 0 15px;
    margin-top: 10px;
}
.cal__btns button {
    color: #ff5810;
    padding: 3px 6px;
    font-weight: 600;
}
.cal__btns button:hover {
    background-color: #ff5810;
    color: white;
    border-radius: 10px;
}
.cal__btns button:nth-of-type(2) {
    margin-left: auto;
}