* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #e5e9f0;
    display: flex;
    justify-content: center;
    /* Căn lên top thay vì chính giữa màn hình */
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px 20px 20px; /* Tăng padding trên để khoảng cách đẹp mắt */
}

.container {
    width: 100%;
    max-width: 650px;
    text-align: center;
}

.logo-box {
    margin-bottom: 15px;
}

/* Kích thước logo lớn hơn */
.logo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
}

/* Thiết kế lại Font chữ H1 nổi bật và ấn tượng hơn */
.main-title {
    font-family: 'Montserrat', sans-serif;
    color: #cc2229;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.08);
}

.card {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 430px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 12px;
}

.bank-dropdown-wrapper {
    position: relative;
    width: 100%;
    text-align: left;
}

input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
}

input[type="text"]:focus {
    border-color: #f54242;
}

.bank-dropdown-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-top: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 100;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bank-dropdown-list.active {
    display: block;
}

.bank-dropdown-list li {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.bank-dropdown-list li:last-child {
    border-bottom: none;
}

.bank-dropdown-list li:hover {
    background-color: #f5f7fa;
}

.bank-dropdown-list img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    margin-right: 10px;
}

.bank-subtext {
    font-size: 12px;
    color: #999;
}

button {
    width: 100%;
    height: 42px;
    background-color: #f54242;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 4px;
}

button:hover {
    background-color: #e03232;
}

button:disabled {
    background-color: #fca5a5;
    cursor: not-allowed;
}

.result-box {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.result-box.success {
    background-color: #f0f9eb;
    color: #67c23a;
    border: 1px solid #e1f3d8;
}

.result-box.error {
    background-color: #fef0f0;
    color: #f56c6c;
    border: 1px solid #fde2e2;
}

.hidden {
    display: none;
}

/* Styling cho giao diện kết quả đẹp chuẩn mẫu */
.result-box {
    margin-top: 20px;
    padding: 20px 15px;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
}

.result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.result-bank-logo {
    height: 45px;
    object-fit: contain;
    margin-bottom: 5px;
}

.result-line {
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.5;
    word-break: break-word;
}

.result-line b {
    color: #222;
}

.btn-copy {
    color: #1890ff;
    text-decoration: none;
    font-size: 13px;
    margin-left: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-copy:hover {
    text-decoration: underline;
    color: #40a9ff;
}

.error-text {
    color: #666666;
    font-weight: 500;
    margin-top: 5px;
}