.content {
    padding: 30px;
}

/* Criei para formatar melhor os campos e não alterar o layout */
.container2{
    width: 670px;
}
        
.form-group {
    margin-bottom: 10px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.payment-method {
    flex: 1;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.payment-method:hover {
    border-color: #46DB8B;
    background: #f8f9ff;
}

.payment-method.active {
    /* border-color: #667eea;
       background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    border-color: #46DB8B;
    background: linear-gradient(135deg, #46DB8B 0%, #14A959 100%);
    color: white;
}

.payment-method-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.payment-method-name {
    font-size: 12px;
    font-weight: 600;
}

.card-fields {
    display: none;
}

.card-fields.active {
    display: block;
}

.row {
    display: flex;
    gap: 15px;
}

.col {
    flex: 1;
}

.btn {
    width: 100%;
    padding: 15px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #46DB8B 0%, #14A959 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

.qrcode-container {
    display: none;
    text-align: center;
    padding: 20px;
    background: #f8f9ff;
    border-radius: 10px;
    margin-top: 20px;
}

.qrcode-container.active {
    display: block;
}

.qrcode-container img {
    max-width: 250px;
    margin: 20px auto;
    display: block;
}

.qrcode-code {
    background: white;
    padding: 10px;
    border-radius: 8px;
    word-break: break-all;
    font-family: monospace;
    font-size: 12px;
    margin-top: 15px;
    border: 1px solid #e0e0e0;
}

.copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.copy-btn:hover {
    background: #45a049;
}

@media (max-width: 600px) {
    .container {
        border-radius: 0;
    }

    /* Criei para formatar melhor os campos e não alterar o layout */
    .container2 {
        border-radius: 0;
        width: 98%;
    }

    .header h1 {
        font-size: 24px;
    }

    .content {
        padding: 20px;
    }

    .row {
        flex-direction: column;
        gap: 0;
    }

    .payment-methods {
        flex-direction: column;
    }
}
