body {
    font-family: 'Helvetica', sans-serif;
    background: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 68vh;
}

#page-header1 {
    position: fixed;
    top: 0;
    right: 0; /* 从左改为右 */
    width: auto; /* 只占需要的宽度 */
    height: 50px;
    z-index: 9999;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 6px 12px;
    background-color: transparent;
    flex-direction: row-reverse; /* 图标在右，按钮在左 */
}


@media (max-width: 768px) {
    .input-container {
        display: none !important;
    }
}

.container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 600px;
    text-align: center;
    margin-bottom: 20px;
}

.input-container {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 50%;
    max-width: 187px;
    text-align: center;
    margin-bottom: 173px;
}

.input-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.result {
    margin-top: 10px;
    font-weight: bold;
    color: #3498db;
}

#exchange-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 80%;
    max-width: 600px;
    text-align: center;
    transform: translateY(0);
    margin-top: 20px;
}

h2 {
    color: #3498db;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #555;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.channel-selector {
    display: flex;
    flex-direction: column; 
    justify-content: space-around; 
    margin-bottom: 15px;
}

.channel-option {
    display: block; 
    margin-bottom: 10px;
}

.channel-option input {
    display: none; 
}

.channel-option label {
    display: inline-flex; 
    align-items: center; 
    cursor: pointer;
}

.channel-option .custom-logo {
    width: 24px;
    height: 24px;
    margin-right: 6px;
}

.channel-option label {
    margin-bottom: 0; 
}

.channel-option input[type="radio"] + label:before {
    content: '';
    display: inline-block;
    width: 16px; 
    height: 16px; 
    border-radius: 50%;
    border: 1px solid #ccc;
    margin-right: 5px; 
}

.channel-option input[type="radio"]:checked + label:before {
    background-color: #3498db; 
}

.channel-option {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.channel-option input {
    margin-right: 5px;
}

.account-input {
    display: none;
}

button {
    background: #2ecc71;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

jiji {
    background: #01daff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #27ae60;
}

#result {
    margin-top: 15px;
    font-weight: bold;
    color: #187d00;
}

#qrCode {
    margin-top: 15px;
}

#usdtAddress {
    margin-top: 10px;
    font-weight: bold;
    color: #555;
}

#telegramContact {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    cursor: pointer;
}

#telegramLogo {
    font-size: 24px;
    margin-right: 5px;
}

#countdown {
    margin-top: 10px;
    color: #555;
    font-weight: bold;
}



.red-text {
    color: red;
}

input:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.7); 
    outline: none; 
}


.channel-option input:focus {
    box-shadow: none;
}

.channel-option {
    display: flex;
    align-items: center; 
    cursor: pointer;
}


.channel-option .custom-logo {
    width: 24px;
    height: 24px;
    margin-right: 6px;
}


.channel-option label {
    margin-bottom: 0; 
}
#logo-container {
    position: fixed;
    bottom: 40px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    padding: 10px;
   z-index: -1; 
    transition: background-color 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

#logo-container img {
    width: 128px; 
    height: auto;
    transition: width 0.3s ease;
}



#copyright-container {
    background-color: #2ecc71;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
    border-radius: 6px;
    font-size: 0.85em;
}




@media only screen and (max-width: 600px) {

}
#exchange-container {
    margin-bottom: 80px; /* 加大的底部间距，避开绿色条 */
}
