/* Adicione ao coleta_form.css */

.coleta-header {
    margin-bottom: 30px;
}

.coleta-header h3 {
    color: #1a365d;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.coleta-header > p {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 16px;
}

.cliente-info-summary {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    color: #2d3748;
    font-weight: 500;
}

.coleta-notice {
    background: #ebf8ff;
    border: 1px solid #90cdf4;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.coleta-notice i {
    color: #3182ce;
    font-size: 18px;
    margin-top: 2px;
}

.coleta-notice p {
    margin: 0;
    color: #2c5282;
    font-size: 14px;
    line-height: 1.5;
}

.coleta-notice strong {
    color: #2b6cb0;
}

/* Formulário */
.form-section {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.form-section h4 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.form-group label i {
    color: #718096;
    font-size: 14px;
}

.optional {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 400;
    margin-left: auto;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.button-submit {
    background: linear-gradient(135deg, #2b6cb0 0%, #4299e1 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 200px;
}

.button-submit:hover {
    background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.3);
}

.button-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-help {
    font-size: 13px;
    color: #718096;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-help i {
    color: #ecc94b;
}

/* Estados especiais */
.coleta-not-logged,
.coleta-error,
.coleta-pendente {
    background: white;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    border: 1px solid #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
}

.coleta-not-logged p,
.coleta-error p,
.coleta-pendente p {
    color: #4a5568;
    font-size: 16px;
    margin: 10px 0;
}

.coleta-error {
    border-color: #fed7d7;
    background: #fff5f5;
}

.coleta-pendente {
    border-color: #feebc8;
    background: #fffaf0;
}

.coleta-pendente i {
    font-size: 48px;
    color: #ed8936;
    margin-bottom: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .cliente-info-summary {
        grid-template-columns: 1fr;
    }
    
    .form-section {
        padding: 20px;
    }
}

/* Mensagens especiais */
.coleta-message.success-final {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border: none;
}

.coleta-message.info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    border: none;
}

.processing-note,
.info-note,
.error-note {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 10px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.processing-note i,
.info-note i,
.error-note i {
    font-size: 14px;
}

.fa-spin {
    animation: fa-spin 2s infinite linear;
}

/* Containers permanentes */
.coleta-sucesso-final,
.coleta-ja-existe {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    animation: slideIn 0.5s ease;
}

.success-final-content,
.exists-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.success-icon,
.exists-icon {
    flex-shrink: 0;
}

.success-icon i {
    font-size: 48px;
    color: #38a169;
}

.exists-icon i {
    font-size: 48px;
    color: #3182ce;
}

.success-final-text h3,
.exists-text h3 {
    margin: 0 0 15px 0;
    color: #2d3748;
    font-size: 22px;
}

.success-message,
.exists-message {
    margin: 0 0 20px 0;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
}

.success-details,
.exists-details {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf2f7;
}

.detail-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-item i {
    font-size: 18px;
    color: #718096;
    width: 24px;
    text-align: center;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    color: #2d3748;
    font-size: 13px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    color: #4a5568;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pendente {
    background: #fff3e0;
    color: #ed8936;
    border: 1px solid #feebc8;
}

.success-actions,
.exists-actions {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.action-note {
    color: #718096;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-note i {
    color: #ecc94b;
}

.button-voltar-site {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-voltar-site:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(66, 153, 225, 0.3);
}

/* Animações */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .success-final-content,
    .exists-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .success-details,
    .exists-details {
        padding: 15px;
    }
    
    .coleta-sucesso-final,
    .coleta-ja-existe {
        padding: 20px;
    }
}