.service {
    padding: 20px;
}

.service .service-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service .service-title label {
    display: flex;
}

.service .service-title input {
    min-width: 200px;
    font-size: 14px;
    padding: 0 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
}

.service .service-title span {
    margin: 0;
    width: 54px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    border-left: none;
    border-radius: 0 4px 4px 0;
    background-color: #f5f7fa;
    cursor: pointer;
}

.service .service-title span:hover {
    background-color: #fafcff;
}

.service .service-title span:active {
    background-color: #e9eaed;
}

#serviceTable {
    margin-top: 20px;
    width: 100%;
}

#serviceTable tr {
    height: 50px;
}

#serviceTable thead {
    background-color: #f7f7f7;
}

#serviceTable tbody tr:nth-of-type(even) {
    background-color: #f9f9f9;
}

.service .service-btn {
    width: 97px;
    height: 30px;
    padding: 0 8px;
    background: #62abe5;
    border-radius: 2px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    user-select: none;
    cursor: pointer;
}

.service .service-btn:hover {
    background: hsl(from #62abe5 h s calc(l * 1.1));
}

.service .service-btn:active {
    background: hsl(from #62abe5 h s calc(l * 0.9));
}

.service .service-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.service .service-action > span {
    display: inline-block;
    width: 2px;
    height: 1rem;
    background-color: #ccc;
}

.service .service-action .edit-btn {
    --main-color: #62abe5;
}

.service .service-action .del-btn {
    --main-color: #ff7070;
}

.service .service-action > div {
    color: var(--main-color);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.service .service-action > div:hover {
    color: hsl(from var(--main-color) h s calc(l * 1.1));
}

.service .service-action > div:active {
    color: hsl(from var(--main-color) h s calc(l * 0.9));
}

.service .service-action > div > img {
    width: 1rem;
    vertical-align: sub;
}

/* service person */

/* add-service */
.add-service {
    padding-bottom: 40px;
}

.add-service .add-title {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-service .add-title .add-back-btn {
    color: #2ecc71;
    user-select: none;
    cursor: pointer;
}

.add-content {
    border-radius: 2px;
}

.add-content .content-item {
    margin-top: -1px;
    /*border: 1px solid #ddd;*/
}

.add-content .content-item:nth-of-type(1) {
    border-radius: 2px 2px 0 0;
}

.add-content .content-item:nth-last-of-type(1) {
    border-radius: 0 0 2px 2px;
}

.add-content .content-item .item-label {
    border-bottom: inherit;
    line-height: 54px;
    text-align: center;
    font-size: 22px;
    color: #31708f;
    background-color: #d9edf7;
}

.add-content .content-info {
    position: relative;
}

.add-content .content-info i {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-tabs li[disabled] {
    opacity: 0.5;
}

.nav-tabs li[disabled] a:hover {
    background: none;
    color: #62abe5;
    border-color: transparent;
    cursor: not-allowed;
}
