.wd-dr-modal {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    box-sizing: border-box;
    overflow: scroll;
}

.wd-dr-modal * {
    box-sizing: border-box;
}

.wd-dr-modal.modal-active {
    display: block;
}

.wd-dr-modal-wrap {
    max-width: 870px;
    width: 100%;
    position: relative;
    margin: 10% auto;
    background: #fff;
}

.wd-dr-modal-header {
    border-bottom: 1px solid #E8E8E8;
    padding: 20px 20px 18px 20px;
}

.wd-dr-modal-header h3 {
    line-height: 1.8;
    margin: 0;
    color: #4A5568;
}

.wd-dr-modal-body {
    padding: 5px 20px 20px 20px;
}

.wd-dr-modal-body .reason-input {
    margin-top: 5px;
    margin-left: 20px;
}

.wd-dr-modal-footer {
    border-top: 1px solid #E8E8E8;
    padding: 20px;
    text-align: right;
}

.wd-dr-modal-reasons-bottom {
    margin: 0;
}

ul.wd-de-reasons {
    display: flex;
    margin: 0 -5px 0 -5px;
    padding: 15px 0 20px 0;
}

ul.wd-de-reasons.wd-de-others-reasons {
    padding-top: 0;
    display: none;
}

ul.wd-de-reasons li {
    padding: 0 5px;
    margin: 0;
    width: 14.26%;
}

ul.wd-de-reasons label {
    position: relative;
    border: 1px solid #E8E8E8;
    border-radius: 4px;
    display: block;
    text-align: center;
    height: 100%;
    padding: 15px 3px 8px 3px;
}

ul.wd-de-reasons label:after {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #3B86FF;
    position: absolute;
    left: 50%;
    top: 100%;
    margin-left: -8px;
}

ul.wd-de-reasons label input[type="radio"] {
    position: absolute;
    left: 0;
    right: 0;
    visibility: hidden;
}

.wd-de-reason-text {
    color: #4A5568;
    font-size: 13px;
}

.wd-de-reason-icon {
    margin-bottom: 7px;
}

ul.wd-de-reasons li.wd-de-reason-selected label {
    background-color: #3B86FF;
    border-color: #3B86FF;
}

li.wd-de-reason-selected .wd-de-reason-icon svg,
li.wd-de-reason-selected .wd-de-reason-icon svg g {
    fill: #fff;
}

li.wd-de-reason-selected .wd-de-reason-text {
    color: #fff;
}

ul.wd-de-reasons li.wd-de-reason-selected label:after {
    content: "";
}

.wd-dr-modal-reason-input {
    margin-bottom: 15px;
    display: none;
}

.wd-dr-modal-reason-input textarea {
    background: #FAFAFA;
    border: 1px solid #287EB8;
    border-radius: 4px;
    width: 100%;
    height: 100px;
    color: #524242;
    font-size: 13px;
    line-height: 1.4;
    padding: 11px 15px;
    resize: none;
}

.wd-dr-modal-reason-input textarea:focus {
    outline: 0 none;
    box-shadow: 0 0 0;
}

.wd-dr-button-secondary,
.wd-dr-button-secondary:hover {
    border: 1px solid #EBEBEB;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: #718096;
    padding: 5px 12px;
    cursor: pointer;
    background-color: transparent;
    text-decoration: none;
}

.wd-dr-submit-modal,
.wd-dr-submit-modal:hover {
    border: 1px solid #3B86FF;
    background-color: #3B86FF;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    padding: 5px 12px;
    cursor: pointer;
    margin-left: 4px;
}
