.woothanks-form-wrapper .d-none {
    display: none;
}

.woothanks-form-wrapper .woothanks-form {
    position: relative;
    margin-bottom: 20px;
}

.woothanks-form-wrapper .woothanks-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.woothanks-form-wrapper .woothanks-form .error-message {
    color: #f44336;
    font-weight: 500;
}

.woothanks-form-wrapper .woothanks-form button[type=submit] {
    text-decoration: none;
}

.woothanks-form-wrapper .woothanks-form button[type=submit] span {
    margin-right: .5rem;
}

.woothanks-form-wrapper .woothanks-form input[name=amount] {
    width: 100%;
}

.woothanks-form-wrapper .woothanks-form .form-control {
    width: 100%;
    min-height: 2rem;
    padding: .5rem;
    border: 1px solid #eee;
}

.woothanks-form-wrapper .woothanks-form .amount-markers {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    cursor: pointer;
}

.woothanks-form-wrapper .woothanks-form .amount-markers option {
    background: #ddd;
    font-weight: 600;
    font-size: 95%;
    border-radius: 4px;
    padding: 0px 10px;
    position: relative;
    opacity: .8;
}

.woothanks-form-wrapper .woothanks-form .amount-markers option:hover {
    opacity: 1;
}

.woothanks-form-wrapper .woothanks-form .amount-markers option:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translatex(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #ddd;
}

.woothanks-form-wrapper .woothanks-form .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.woothanks-form-wrapper .woothanks-form .input-group .input-group-text {
    display: flex;
    align-items: center;
    padding: .375rem .75rem;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: .25rem;
}

.woothanks-form-wrapper .woothanks-form .input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.woothanks-form-wrapper .woothanks-form .input-group input[name=amount] {
    font-size: 1.5rem;
    font-weight: 600;
    color: #018f01;
}

.woothanks-form-wrapper .woothanks-form .input-group button[type=submit] {
    margin: 0;
}

.woothanks-form-wrapper .woothanks-form .input-group .error-message {
    width: 100%;
    padding: .25rem 1rem;
    border-radius: .25rem;
    color: #fff;
    background: #f44336;
    margin-top: 1rem;
}

.woothanks-form-wrapper .woothanks-form .badge-bonus {
    font-size: 1rem;
    position: absolute;
    top: -.5rem;
    left: 1rem;
    background: #FF5722;
    border-radius: 35px;
    padding: .25rem 1rem;
}

.woothanks-form-wrapper .woothanks-form .woothanks-heading {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.woothanks-form-wrapper .woothanks-form .woothanks-author__avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.woothanks-form-wrapper .woothanks-form .woothanks-author__name {
    font-size: 1rem;
}

.woothanks-form-wrapper .woothanks-form .woothanks-author__name a {
    font-weight: 600;
}

.woothanks-form-wrapper .woothanks-form .woothanks-author__amount {
    font-weight: 600;
    color: #018f01;
    margin: .25rem 0;
}

.woothanks-form-wrapper .woothanks-form .woothanks-author {
    border: 1px solid #eee;
    padding: 2.5rem 0 0 1.5rem;
    display: flex;
    gap: 1rem;
    position: relative;
}

.woothanks-form-wrapper .woothanks-form .form-group-submit {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.woothanks-form-wrapper .woothanks-form .woothanks-form-group {
    margin-bottom: 1.5rem;
}

.woothanks-form-wrapper .woothanks-form .woothanks-form-group:last-child {
    margin-bottom: 0;
}

html[data-theme=dark] .woothanks-form-wrapper .amount-markers option {
    background: #444;
}

html[data-theme=dark] .woothanks-form-wrapper .amount-markers option:after {
    border-top-color: #444;
}

html[data-theme=dark] .woothanks-form-wrapper .badge-bonus {
    background-color: #ff5722;
}

html[data-theme=dark] .woothanks-form-wrapper .woothanks-author__amount {
    color: #07cf07;
}

html[data-theme=dark] .woothanks-form-wrapper .woothanks-form,
html[data-theme=dark] .woothanks-form-wrapper .woothanks-author {
    border-color: #333;
}