/* --- Estilos para o Painel do Artista - Caixa de Ganhos --- */
.imz-artist-earnings-summary {
    background: linear-gradient(45deg, #10b981, #2dd4bf);
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(26, 211, 153, 0.3);
}

.imz-artist-earnings-summary h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.imz-artist-earnings-summary .imz-earnings-amount {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

/* --- Estilos para o Sistema de Pagamento (Payout) --- */
.imz-payout-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.imz-payout-section .imz-artist-earnings-summary {
    flex-grow: 1;
    margin: 0;
    text-align: left;
    box-shadow: none;
    padding: 0;
    background: none; /* Remove o fundo verde de dentro desta secção */
    color: #111827; /* Muda a cor do texto para escuro */
}
.imz-payout-section .imz-artist-earnings-summary h4 {
    color: #6b7280; /* Cor mais suave para o título */
}

.imz-payout-button-container {
    text-align: right;
    padding-left: 20px;
}

.imz-payout-button {
    background: #1f2937;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.imz-payout-button:hover:not(:disabled) {
    background: #374151;
}

.imz-payout-button:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.imz-payout-notice {
    font-size: 12px;
    color: #6b7280;
    margin: 5px 0 0 0;
}

/* Estilos para o status no painel de admin e do artista */
span.imz-payout-status-pendente, span.imz-payout-status-concluido, span.imz-payout-status-cancelado {
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
}
span.imz-payout-status-pendente {
    background-color: #fef3c7;
    color: #92400e;
}
span.imz-payout-status-concluido {
    background-color: #d1fae5;
    color: #065f46;
}
span.imz-payout-status-cancelado {
    background-color: #fee2e2;
    color: #991b1b;
}

/* --- Estilos para Mensagens de Notificação --- */
.imz-message {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 500;
}

.imz-message-success {
    color: #065f46;
    background-color: #d1fae5;
    border-color: #a7f3d0;
}

.imz-message-warning {
    color: #92400e;
    background-color: #fef3c7;
    border-color: #fde68a;
    text-align: center;
}

.imz-message-error {
    color: #991b1b;
    background-color: #fee2e2;
    border-color: #fecaca;
}

/* Estilos para a caixa de configuração inicial e Reivindicação */
.imz-setup-box, .claim-section {
    padding: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 40px;
    background-color: #f8fafc;
}

.imz-setup-box h3, .claim-section h3 {
    margin-top: 0;
    color: #111827;
}

.imz-setup-box p, .claim-section p {
    color: #4b5563;
}

.claim-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #374151;
}

.claim-section input[type="url"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box; /* Garante que padding não afeta a largura total */
    transition: all 0.2s ease;
}

.claim-section input[type="url"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
    outline: none;
}

.claim-section .imz-botao-principal {
    margin-top: 15px;
}

/* --- Estilos para o Uploader Moderno --- */
.imz-file-uploader {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    background-color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.imz-file-uploader:hover {
    border-color: #3b82f6;
}

.imz-file-uploader-label {
    font-weight: 500;
    color: #374151;
    pointer-events: none; /* Permite que o clique atravesse o label e chegue ao input */
}

.imz-file-uploader-label span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

#claim_document_upload {
    display: none; /* O input real fica escondido */
}

.imz-progress-container {
    width: 100%;
    background-color: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    height: 25px;
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imz-progress-bar {
    width: 0%;
    height: 100%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.imz-progress-text {
    position: absolute;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.imz-file-notice {
    font-size: 12px;
    margin-top: 5px;
    min-height: 1em; /* Garante que a altura não muda quando o texto aparece */
}

/* --- Estilo para a mensagem de conta bloqueada --- */
.imz-message.imz-account-blocked {
    text-align: center;
    padding: 20px !important; /* !important para garantir que sobrescreve o padding padrão */
    font-size: 16px;
    font-weight: bold;
}


/* --- CÓDIGO PARA RESPONSIVIDADE MÓVEL --- */
@media (max-width: 768px) {
    .imz-payout-section {
        flex-direction: column; /* Empilha os itens verticalmente */
        padding: 25px 20px;
    }

    .imz-payout-section .imz-artist-earnings-summary,
    .imz-payout-button-container {
        text-align: center; /* Centraliza o texto em ambos os contentores */
        padding-left: 0;
        width: 100%;
    }

    .imz-payout-button-container {
        margin-top: 20px; /* Adiciona espaço entre o saldo e o botão */
    }

    .imz-artist-earnings-summary .imz-earnings-amount {
        font-size: 32px; /* Reduz um pouco o tamanho da fonte do valor */
    }
}