body {
    font-family: Arial, Helvetica, sans-serif;
}

header {
    border-bottom: 1px solid #eee;
}
header .header {
    max-width: 960px;
    margin: 0 auto;
    padding: 5px;
    display: flex;
    align-items: center; /* căn giữa theo chiều dọc */
    gap: 10px; /* khoảng cách giữa các phần tử */
}
.logo {
    display: flex;
    align-items: center;
}
.logo svg {
    height: 40px; /* chỉnh chiều cao nếu cần */
}
.logo img {
    height: 40px;
}
.logo span {
    font-size: 16px;
    font-weight: bold;
    margin-left: 10px;
}
.btn-status {
            background-color: #007bff;
            color: white;
            border: none;
        }
        .btn-status:hover {
            background-color: #0056b3;
        }
.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 5px;
}

.content .km {
    margin: 15px 0px;
}
.btn-mini-kichhoat {
  padding: 2px 8px;
  font-size: 12px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Nút mặc định: màu xanh cho kích hoạt */
.btn-kichhoat {
  background-color: #28a745; /* Xanh lá */
}

/* Nút trạng thái chờ xử lý: màu vàng */
.btn-cho-xu-ly {
  background-color: #ffc107; /* Vàng */
  color: black;
  cursor: not-allowed;
  opacity: 0.9;
}

/* Nút đã kích hoạt: màu xám */
.btn-da-kichhoat {
  background-color: #6c757d; /* Xám */
  cursor: not-allowed;
  opacity: 0.8;
}


.btn-mini-kichhoat:hover {
  background-color: #0056b3;
}

.content .list-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.content .list-card .item {
    width: 155px;
    padding: 15px 5px;
    border: 2px solid #eee;
    margin: 5px;
    text-align: center;
    cursor: pointer;
}

.content .list-card .item.selected {
    border-color: #face15;
}

.content .list-card .item img {
    width: 70%;
}

.content .list-xu {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.content .list-xu .item {
    width: 155px;
    padding: 15px 5px;
    border: 2px solid #eee;
    margin: 5px;
    text-align: center;
    cursor: pointer;
}

.content .list-xu .item.selected {
    border-color: #face15;
}

.content .list-xu .item .xu {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 0px;
}

.content .list-xu .item .xu .currency {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    margin-bottom: 3px;
}

.content .list-xu .item .xu .sl {
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.mau {
    color: #face15;
}

.maudo {
    color: #fe2c55;
}

.content .list-xu .item .price {
    font-size: 90%;
    font-style: italic;
    margin-top: 3px;
    font-weight: bold;
    color: #999;
}

.content .seri-pin .input {
    padding: 5px;
    margin: 5px 0px;
}

.content .seri-pin .input input {
    width: 100%;
    padding: 13px;
    border: 2px solid #eee;
    box-sizing: border-box;
    font-size: 16px;
}

/* Thêm style cho thẻ select */
.content .seri-pin .input select {
    width: 100%;
    padding: 13px;
    border: 2px solid #eee;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #fff;
    color: #333;
    -webkit-appearance: none; /* Xóa default styling trên một số trình duyệt */
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

/* Tạo icon dropdown tùy chỉnh */
.content .seri-pin .input select::-ms-expand {
    display: none; /* Ẩn dropdown của IE */
}

.content .seri-pin .input select::after {
    content: '▼'; /* Icon dropdown */
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}


.content .button {
    padding: 5px;
    margin: 5px 0px;
}

.content .button button {
    width: 100%;
    padding: 13px;
    border: none;
    font-weight: bold;
    font-size: 105%;
    border-radius: 2px;
    background-color: #fe2c55;
    cursor: pointer;
}

.content button:hover {
    background-color: #ef2950;
    color: #fff;
}

#thongbao {
    padding: 3px 5px;
    font-style: italic;
    color: #fe2c55;
    font-size: 95%;
}

#thongbao-login {
    padding: 5px 0px;
    font-style: italic;
    color: #fe2c55;
    font-size: 95%;
    margin-top: 3px;
    margin-bottom: -10px;
}
        .additional-fields {
            display: none; /* Ẩn ban đầu */
        }
        .login-form-container {
            max-width: 400px;
            margin: 0 auto;
        }
        .login-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
            max-width: 400px;
            background-color: #f8f9fa;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 20px;
            max-height: 500px; /* Giới hạn chiều cao form */
            overflow-y: auto; /* Thêm thanh cuộn dọc */
            box-sizing: border-box;
        }
        .login-form input[type="file"],
        .login-form select {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
        }
        .login-form input[type="file"] {
            padding: 3px;
        }



    .login-form input,
    .login-form button {
        padding: 10px;
        font-size: 16px;
    }
            .login-form input[type="file"],
        .login-form select {
            width: 100%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
        }
        .login-form input[type="file"] {
            padding: 3px;
        }
.thongbao-don {
    padding: 3px 5px;
    font-style: italic;
    color: #fe2c55;
    font-size: 95%;
}

.title {
    font-weight: bold;
    padding: 5px;
    margin-top: 10px;
}

.title-small-login {
    font-weight: bold;
    margin: 10px 0px;
}

.t-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #000;
    margin-top: 5px;
    padding: 0 5px;
}

.t-title span {
    position: relative;
    display: inline-block;
}

.t-title span:after {
    content: '';
    display: block;
    margin: 0 auto;
    height: 3px;
    width: 80%;
    background-color: #fe2c55;
    position: absolute;
    left: 0%;
    bottom: -8px;
}

.username {
    font-weight: bold;
    font-size: 115%;
    margin: 5px;
    padding: 18px 15px;
    background-color: #eee;
}

.clear {
    height: 50px;
}

.login-form {}

.login-form input {
    width: 100%;
    padding: 13px;
    border: 2px solid #eee;
    box-sizing: border-box;
    font-size: 16px;
}

.login-form button {
    width: 100%;
    padding: 13px;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 105%;
    border-radius: 2px;
    margin-top: 15px;
    background-color: #fe2c55;
    pointer-events: auto;
}

.login-form button:hover {
    background-color: #ef2950;
}

.login {
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    display: flex;
}

.login svg {}

.login span {
    margin-left: 10px;
}


.login-in {
    display: flex;
}

.login-in .left {
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    width: 80%;
}

.login-in .right {
    display: flex;
    align-items: center;
    justify-content: right;
    cursor: pointer;
    width: 20%;
}

.login-in .right a {
    color: #fe2c55;
    text-decoration: none;
    font-style: italic;
    font-size: 80%;
}

.login-in .left .avt {
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
}

.login-in .left svg {}

.login-in .left span {
    margin-left: 10px;
}

.title-login {
    font-size: 140%;
    font-weight: bold;
    margin: 30px 0px;
    text-align: center;
}

.popup-container {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1 !important;
}

/* Style cho ná»™i dung cá»§a popup */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    position: relative;
    margin: 0px 15px;
    transform: translateY(-50px);
    width: 400px;
    z-index: 1000;
}

@media (max-width: 499px) {
    .popup-content {
        background: white;
        padding: 20px;
        border-radius: 5px;
        position: relative;
        margin: 0px 15px;
        transform: translateY(-50px);
        width: 100%;
        z-index: 1000;
    }
}

/* NÃºt Ä‘Ã³ng (x) */
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.disabled {
    pointer-events: none;
    /* NgÄƒn táº¥t cáº£ sá»± kiá»‡n chuá»™t */
    opacity: 0.8;
    /* LÃ m má» ná»™i dung Ä‘á»ƒ chá»‰ ra tÃ­nh khÃ´ng kháº£ dá»¥ng */
}

.disabled * {
    color: gray;
    /* Äáº·t mÃ u sáº¯c cá»§a táº¥t cáº£ pháº§n tá»­ con thÃ nh mÃ u xÃ¡m */
}

.btn-non-login {
    background-color: #ff97ac;
    color: #fff;
}

.btn {
    color: #fff;
    background-color: #fe2c55;
}

.dieukhoan {
    font-size: 15px;
    font-style: italic;
    color: green;
    padding: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 1s linear infinite;
}