body {
    background-color: #f0f0f0;
    margin: 0;
    /* height: 100vh; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* padding-top: 5%; */
    /* #padding: 25% 10px; */
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 10%;
}

.card {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #007bff;
    color: white;
}

.controls {
    margin-bottom: 20px;
}

.custom-switch {
    margin-bottom: 0;
}

.text-center {
    margin-top: 20px;
}

.d-flex .custom-control {
    flex: 1;
    text-align: center;
}

.d-flex .custom-control-label {
    margin-left: 0.5rem;
}

.output .form-control {
    max-width: 100%;
    font-size: 1.5rem;
    margin: 0 auto;
    height: auto; /* Cho phép chiều cao tự động thay đổi */
    min-height: 3rem; /* Chiều cao tối thiểu */
    overflow-wrap: break-word; /* Bẻ từ khi quá dài */
    white-space: normal; /* Cho phép xuống dòng */
    word-break: break-all; /* Bẻ từ dài nếu cần */
}

.range-labels span {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.range-labels span.active {
    color: #007bff;
    font-weight: bold;
}

.range-labels span.clickable:hover {
    text-decoration: underline;
}

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

@media (max-width: 576px) {
    .d-flex.flex-wrap {
        flex-direction: row;
        justify-content: space-between;
    }
    .custom-control {
        width: 48%;
        margin-bottom: 10px;
    }
    .custom-switch {
        margin-bottom: 10px;
    }
}

[v-cloak] {
    display: none;
}

button {
    transition: transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;

}

/* Hiệu ứng đơn giản thay đổi màu nền khi click */
button:active {
    background-color: #0069d9; /* Màu tối hơn khi nhấn */
    transform: scale(0.95); /* Thu nhỏ nút */
}

