.procredito-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.procredito-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.procredito-form-field {
    flex: 1;
    min-width: 200px;
}

.procredito-form-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.procredito-form-field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.procredito-form-field input::placeholder {
    color: #9ca3af;
}

.procredito-form-field input:invalid:not(:placeholder-shown),
.procredito-form-field input.error {
    border-color: #ef4444;
}

.procredito-submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: normal;
    flex-shrink: 0;
}

.procredito-submit-btn:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

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

.procredito-submit-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.procredito-submit-btn svg {
    flex-shrink: 0;
}

.procredito-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
    animation: fadeIn 0.5s ease-in;
}

.procredito-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.procredito-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.procredito-form.disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .procredito-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .procredito-form-field {
        min-width: 100%;
    }
    
    .procredito-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

