.form-block {
    width: 80%;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    width: 100%;
    font-weight: bold;
    margin-bottom: 10px;
    color: #7f44ac;
}

.input-group input {
    width: 100%;
    border: 2.5px solid #ffcc44;
    height: 50px;
    padding: 0 20px;
    border-radius: 15px !important;
    outline: none;
    background: #7f44ac;
    color: white;
}

.input-group label.error {
    color: #e96543;
    font-weight: unset;
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
}

.input-group input:focus {
    outline: red;
}

.input-group input::placeholder {
    color: rgba(238, 238, 238, 0.4);
    opacity: 0.9;
}

.input-group .form-control-select {
    height: 50px;
    border: 2.5px solid #ffcc44;
    width: 100%;
    padding: 0 20px;
    border-radius: 15px !important;
    outline: none;
    background: #7f44ac;
    color: white;
}

.form-control-select option {
    background-color: #fff;
    color: #000;
}

.submit-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
}

.submit-block button {
    border: none;
    height: 50px;
    padding: 0 40px;
    width: max-content;
    border-radius: 10px;
    background: #7f44ac;
    font-weight: bold;
    color: white;
}

.submit-block button:hover {
    background: #7f44ac;
    transition: ease-in 0.3s;
}

.register-block a {
    color: #7f44ac;
}

.bg2_news {
    background-image: url(../../images/auth/bg-auth.png);
    background-position: center;
    background-size: auto;
}

#agency-form {
    display: none;
    margin-top: 40px;
}

#bank-server{
    display: none;
}

.agency-container .agency-name {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 30px;
}

.agency-container .agency-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid #80808036;
    padding-bottom: 15px;
}

.agency-container .agency-block:last-child {
    border-bottom: none;
}

.agency-container .agency-block .title {
    width: 40%;
    font-weight: bold;
    color: #7f44ac;
}

.agency-container .agency-block .information {
    width: 60%;
}

.modal-giftcode span {
    font-weight: bold;
    color: red;
}

.modal-giftcode {
    margin: 10px 0;
}

.input-group .captcha-control {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.captcha-control label.error {
    position: absolute;
    top: 100%; /* Di chuyển xuống dưới thẻ div */
    left: 0;
    margin-top: 5px; /* Khoảng cách từ thẻ div đến label */
}

.input-group .captcha-control .reload-icon {
    max-width: 30px !important;
    cursor: pointer;
}

#captcha-image {
    margin: 0 10px;
}

#captcha-image img {
    height: 40px;
}

#captcha_input {
    width: 100%;
}

#form-change-password {
    display: none;
}

@media (max-width: 768px) {
    .form-block {
        width: 85%;
        margin-top: 20px;
    }
    .input-group {
        margin-bottom: 20px;
    }
    .submit-block button {
        margin-top: 10px;
        height: 40px;
    }
}

@media (max-width: 576px) {

}

/* Amount buttons styling */
.amount-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.amount-btn {
    background: #7f44ac;
    color: white;
    border: 2px solid #ffcc44;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
}

.amount-btn:hover {
    background: #ffcc44;
    color: #7f44ac;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.amount-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .amount-buttons {
        gap: 8px;
    }
    
    .amount-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}
