@import "../../css/colors.css";
@import "../../css/units.css";

.modal-content {
    width: 360px;
}

.body {
    background: $ui-white;
    padding: 1.5rem 2.25rem;
}

[theme='dark'] .body {
    background: $ui-primary-dark;
    color: $text-primary-dark;
}

.label {
    font-weight: 500;
    margin: 0 0 0.75rem;
}

.min-input, .max-input {
    margin-bottom: 1.5rem;
    width: 100%;
    border: 1px solid $ui-black-transparent;
    border-radius: 5px;
    padding: 0 1rem;
    height: 3rem;
    color: $text-primary-transparent;
    font-size: .875rem;
}

[theme='dark'] .min-input, .max-input {
    color: $text-primary-transparent;
    background: $ui-tertiary-dark;
    color: white;
}

.button-row {
    font-weight: bolder;
    text-align: right;
}

.button-row button {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    background: white;
    border: 1px solid $ui-black-transparent;
    font-weight: 600;
    font-size: 0.85rem;
}

[theme='dark'] .button-row button {
    background: $ui-tertiary-dark;
    color: white;
}

.button-row button.ok-button {
    background: $motion-primary;
    border: $motion-primary;
    color: white;
}

[dir="ltr"] .button-row button + button {
    margin-left: 0.5rem;
}

[dir="rtl"] .button-row button + button {
    margin-right: 0.5rem;
}
