@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
/* 🔹 Định dạng chung cho form đăng ký */
.form-dang-ky {
    width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f4f0ff; /* Màu nền nhẹ nhàng của Pi */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
}

/* 🔹 Tiêu đề form */
.form-dang-ky h2 {
    text-align: center;
    color: #5521B5; /* Màu tím Pi Network */
    font-size: 24px;
    font-weight: bold;
}

/* 🔹 Nhãn (Label) */
.form-dang-ky label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #3d2177; /* Màu chữ đậm hơn */
}

/* 🔹 Ô nhập liệu */
.form-dang-ky input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: border 0.3s ease-in-out;
}

/* 🔹 Ô nhập liệu khi focus */
.form-dang-ky input:focus {
    border-color: #5521B5;
    outline: none;
    box-shadow: 0px 0px 5px rgba(85, 33, 181, 0.5);
}

/* 🔹 Nút đăng ký */
.form-dang-ky button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #ffcc00; /* Màu vàng Pi */
    color: #3d2177;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
    text-transform: uppercase;
}

/* 🔹 Hiệu ứng hover cho nút */
.form-dang-ky button:hover {
    background: #e6b800;
}

/* 🔹 Phần thông báo lỗi */
.thong-bao-loi {
    background: #ffdddd;
    padding: 10px;
    border-left: 5px solid red;
    margin-bottom: 15px;
    font-size: 14px;
    color: #b22222;
    border-radius: 8px;
}

/* 🔹 Danh sách lỗi */
.thong-bao-loi ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.thong-bao-loi li {
    font-weight: bold;
}

/* 🔹 Phần thông báo thành công */
.thong-bao-thanh-cong {
    background: #d4edda;
    padding: 10px;
    border-left: 5px solid #28a745;
    margin-bottom: 15px;
    font-size: 14px;
    color: #155724;
    border-radius: 8px;
}

/* 🔹 Căn chỉnh mobile */
@media (max-width: 500px) {
    .form-dang-ky {
        width: 90%;
    }
}
/* 🔹 popup css */
/* Overlay mờ nền */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

/* Hộp Popup */
.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #3D1E6D; /* Màu tím đậm Pi Network */
    padding: 25px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(255, 193, 7, 0.5);
    width: 400px;
    color: #FFC107; /* Màu vàng Pi */
    font-family: 'Arial', sans-serif;
}

/* Nút đóng (X) */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    color: #FFC107;
    cursor: pointer;
    font-weight: bold;
}

/* Icon thành công */
.icon-thanh-cong {
    width: 70px;
    margin-bottom: 15px;
}

/* Tiêu đề */
.popup-content h2 {
    font-size: 24px;
    color: #FFC107;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Đoạn mô tả */
.popup-content p {
    font-size: 16px;
    color: #FFD54F;
    margin-bottom: 20px;
}

/* Nút đăng nhập */
.btn-dang-nhap {
    display: inline-block;
    padding: 12px 20px;
    background: #FFC107; /* Vàng Pi */
    color: #3D1E6D; /* Tím đậm */
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-dang-nhap:hover {
    background: #FFD54F; /* Vàng nhạt */
}

/* dang nhap 9999 */
/* 🔹 Định dạng chung cho form đăng nhập */
.form-dang-nhap {
    width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f4f0ff; /* Màu nền nhẹ nhàng của Pi */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
}

/* 🔹 Tiêu đề form */
.form-dang-nhap h2 {
    text-align: center;
    color: #5521B5; /* Màu tím Pi Network */
    font-size: 24px;
    font-weight: bold;
}

/* 🔹 Nhãn (Label) */
.form-dang-nhap label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #3d2177; /* Màu chữ đậm hơn */
}

/* 🔹 Ô nhập liệu */
.form-dang-nhap input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: border 0.3s ease-in-out;
}

/* 🔹 Ô nhập liệu khi focus */
.form-dang-nhap input:focus {
    border-color: #5521B5;
    outline: none;
    box-shadow: 0px 0px 5px rgba(85, 33, 181, 0.5);
}

/* 🔹 Nút đăng nhập */
.form-dang-nhap button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #ffcc00; /* Màu vàng Pi */
    color: #3d2177;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
    text-transform: uppercase;
}

/* 🔹 Hiệu ứng hover cho nút */
.form-dang-nhap button:hover {
    background: #e6b800;
}

/* 🔹 Phần thông báo lỗi */
.thong-bao-loi {
    background: #ffdddd;
    padding: 10px;
    border-left: 5px solid red;
    margin-bottom: 15px;
    font-size: 14px;
    color: #b22222;
    border-radius: 8px;
}

/* 🔹 Căn chỉnh mobile */
@media (max-width: 500px) {
    .form-dang-nhap {
        width: 90%;
    }
}

/* thong-bao-dang-nhap */
.thong-bao-dang-nhap {
    background-color: #eaf6ff; /* Màu xanh nhạt tạo cảm giác an toàn */
    color: #0056b3; /* Màu chữ xanh đậm */
    border: 1px solid #b8daff; /* Viền xanh nhạt */
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

.thong-bao-loi-dang-nhap {
    background-color: #ffefea; /* Màu đỏ nhạt nhẹ nhàng hơn */
    color: #d93025; /* Màu chữ đỏ đậm */
    border: 1px solid #f5c6cb; /* Viền đỏ nhẹ */
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}
/* 222 */
/* 🔹 Định dạng chung cho form mua Pi */
.form-mua-pi {
    width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: #f4f0ff; /* Màu nền nhẹ nhàng của Pi */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
}

/* 🔹 Tiêu đề form */
.form-mua-pi h2 {
    text-align: center;
    color: #5521B5; /* Màu tím Pi Network */
    font-size: 24px;
    font-weight: bold;
}

/* 🔹 Nhãn (Label) */
.form-mua-pi label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    color: #3d2177; /* Màu chữ đậm hơn */
}

/* 🔹 Ô nhập liệu */
.form-mua-pi input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background: white;
    transition: border 0.3s ease-in-out;
}

/* 🔹 Ô nhập liệu khi focus */
.form-mua-pi input:focus {
    border-color: #5521B5;
    outline: none;
    box-shadow: 0px 0px 5px rgba(85, 33, 181, 0.5);
}

/* 🔹 Bảng hiển thị giá Pi */
.bang-thong-tin {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.bang-thong-tin th, .bang-thong-tin td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.bang-thong-tin th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #3d2177;
}

/* 🔹 Phần hiển thị tổng tiền */
.tong-tien {
    margin: 15px 0;
    font-size: 18px;
    font-weight: bold; /* Đảm bảo chữ đậm */
    color: #3d2177;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* 🔹 Đảm bảo chữ "Tổng tiền:" cũng hiển thị đậm */
.tong-tien strong {
    font-weight: bold;
}

/* 🔹 Nút mua Pi */
.form-mua-pi button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: #ffcc00; /* Màu vàng Pi */
    color: #3d2177;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
    text-transform: uppercase;
}

/* 🔹 Hiệu ứng hover cho nút */
.form-mua-pi button:hover {
    background: #e6b800;
}

/* 🔹 Phần thông báo thành công */
.thong-bao-thanh-cong {
    background: #d4edda;
    padding: 10px;
    border-left: 5px solid #28a745;
    margin-bottom: 15px;
    font-size: 14px;
    color: #155724;
    border-radius: 8px;
    text-align: center;
}

/* 🔹 Căn chỉnh mobile */
@media (max-width: 500px) {
    .form-mua-pi {
        width: 90%;
    }
}