/* Estilos para o Plugin FastDePix Depósito Anônimo */

.fastdepix-anonimo-container {
    max-width: 450px;
    margin: 20px auto;
    padding: 0 15px;
}

.fastdepix-anonimo-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border: 1px solid #eee;
}

.fastdepix-anonimo-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.fastdepix-anonimo-header svg {
    margin-right: 10px;
    stroke-width: 2; /* Ajuste para o ícone Pix */
}

.fastdepix-anonimo-header h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.fastdepix-anonimo-steps {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}

.fastdepix-anonimo-steps span {
    margin-right: 5px;
}

.fastdepix-anonimo-steps .step-active {
    font-weight: bold;
    color: #00BFA6;
}

.fastdepix-anonimo-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.tab-button {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1em;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.tab-button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.tab-button.tab-active {
    color: #00BFA6;
    border-bottom-color: #00BFA6;
    font-weight: 600;
}

/* Formulário e Inputs */
#fastdepix-anonimo-form label {
    display: block;
    font-size: 0.9em;
    color: #333;
    margin-bottom: 5px;
    margin-top: 15px;
}

#fastdepix-anonimo-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
}

#fastdepix-anonimo-form input[type="text"]:focus {
    border-color: #00BFA6;
    outline: none;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex-grow: 1;
}

.generate-pix-btn {
    background-color: #00BFA6;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.generate-pix-btn:hover {
    background-color: #00a391;
}

.limit-info {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 10px;
    font-weight: 500;
}

/* Aba Pagamento */
#tab-pagamento {
    text-align: center;
}

#pix-info-display img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
}

.pix-copy-container {
    display: flex;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.pix-copy-container input {
    flex-grow: 1;
    border: none;
    padding: 10px;
    font-size: 0.9em;
    background-color: #f9f9f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pix-copy-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s;
}

.pix-copy-btn:hover {
    background-color: #2980b9;
}

#payment-status-display {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #eee;
}

#payment-status-text {
    font-weight: bold;
    color: #f39c12; /* Amarelo para Pendente */
}

.check-payment-btn {
    background-color: #9b59b6;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.check-payment-btn:hover {
    background-color: #8e44ad;
}

/* Aba Sucesso */
#tab-success {
    text-align: center;
    padding: 30px 0;
}

.success-message svg {
    stroke: #00BFA6;
    stroke-width: 2;
    margin-bottom: 15px;
}

.success-message h3 {
    color: #00BFA6;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.success-message p {
    color: #666;
    font-size: 1.1em;
}

/* Responsividade */
@media (max-width: 480px) {
    .fastdepix-anonimo-card {
        padding: 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 15px;
    }

    .generate-pix-btn {
        width: 100%;
    }
}
